home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 51
/
Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso
/
-in_the_mag-
/
fusion
/
mshardfile1
/
System Folder
/
System
/
System.rsrc
/
PACK_3.txt
< prev
next >
Wrap
Text File
|
2000-02-07
|
310KB
|
5,590 lines
start:
00000000 604E bra +0x50 /* 00000050 */
00000002 0000 5041 ori.b D0, 0x41 /* 'A' */
00000006 434B chk.w D1, A3
00000008 0003 001D ori.b D3, 0x1D
0000000C 0000 0002 ori.b D0, 0x2
00000010 0007 0008 ori.b D7, 0x8
00000014 0001 0007 ori.b D1, 0x7
00000018 0002 000A ori.b D2, 0xA /* '\n' */
0000001C 0007 0001 ori.b D7, 0x1
00000020 0007 0001 ori.b D7, 0x1
00000024 0200 0405 andi.b D0, 0x5
00000028 0608 0000 addi.b A0, 0x0
0000002C 0703 btst D3, D3
0000002E 0000 0102 ori.b D0, 0x2
00000032 0B04 btst D4, D5
00000034 0506 btst D6, D2
00000036 0A07 0001 xori.b D7, 0x1
0000003A 0300 btst D0, D1
0000003C 0405 0607 subi.b D5, 0x7
00000040 0000 0000 ori.b D0, 0x0
00000044 0000 0102 ori.b D0, 0x2
00000048 0204 0506 andi.b D4, 0x6
0000004C 0701 btst D1, D3
0000004E 0120 btst -[A0], D0
label00000050:
00000050 205F movea.l A0, [A7]+
00000052 301F move.w D0, [A7]+
00000054 0C40 0001 cmpi.w D0, 0x1
00000058 672E beq +0x30 /* 00000088 */
0000005A 0C40 0002 cmpi.w D0, 0x2
0000005E 6730 beq +0x32 /* 00000090 */
00000060 0C40 0003 cmpi.w D0, 0x3
00000064 6732 beq +0x34 /* 00000098 */
00000066 0C40 0004 cmpi.w D0, 0x4
0000006A 672E beq +0x30 /* 0000009A */
0000006C 0C40 0005 cmpi.w D0, 0x5
00000070 672A beq +0x2C /* 0000009C */
00000072 0C40 0006 cmpi.w D0, 0x6
00000076 672A beq +0x2C /* 000000A2 */
00000078 0C40 0007 cmpi.w D0, 0x7
0000007C 672A beq +0x2C /* 000000A8 */
0000007E 0C40 0008 cmpi.w D0, 0x8
00000082 6726 beq +0x28 /* 000000AA */
00000084 7014 moveq.l D0, 0x14
00000086 A9C9 syscall SysError
label00000088:
00000088 3F3C F061 move.w -[A7], 0xF061
0000008C 42A7 clr.l -[A7]
0000008E 6026 bra +0x28 /* 000000B6 */
label00000090:
00000090 3F3C F060 move.w -[A7], 0xF060
00000094 42A7 clr.l -[A7]
00000096 601E bra +0x20 /* 000000B6 */
label00000098:
00000098 601C bra +0x1E /* 000000B6 */
label0000009A:
0000009A 601A bra +0x1C /* 000000B6 */
label0000009C:
0000009C 3F3C E865 move.w -[A7], 0xE865
000000A0 600A bra +0xC /* 000000AC */
label000000A2:
000000A2 3F3C E866 move.w -[A7], 0xE866
000000A6 6004 bra +0x6 /* 000000AC */
label000000A8:
000000A8 6012 bra +0x14 /* 000000BC */
label000000AA:
000000AA 6010 bra +0x12 /* 000000BC */
label000000AC:
000000AC 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
000000B2 42A7 clr.l -[A7]
000000B4 42A7 clr.l -[A7]
label000000B6:
000000B6 42A7 clr.l -[A7]
000000B8 42A7 clr.l -[A7]
000000BA 42A7 clr.l -[A7]
label000000BC:
000000BC 2F08 move.l -[A7], A0
000000BE 4E56 0000 link A6, 0
000000C2 48E7 3F38 movem.l -[A7], D2,D3,D4,D5,D6,D7,A2,A3,A4
000000C6 6100 009A bsr +0x9C /* 00000162 */
000000CA 47D6 lea.l A3, [A6]
000000CC 302E 0178 move.w D0, [A6 + 0x178]
000000D0 263C 7374 6466 move.l D3, 0x73746466 /* 'stdf' */
000000D6 6100 25E6 bsr +0x25E8 /* 000026BE */
000000DA 4A80 tst.l D0
000000DC 6632 bne +0x34 /* 00000110 */
000000DE 6100 0A34 bsr +0xA36 /* 00000B14 */
000000E2 6100 0A7A bsr +0xA7C /* 00000B5E */
label000000E6:
000000E6 6100 3ADC bsr +0x3ADE /* 00003BC4 */
000000EA 6100 3190 bsr +0x3192 /* 0000327C */
000000EE 6100 3022 bsr +0x3024 /* 00003112 */
000000F2 6100 13A6 bsr +0x13A8 /* 0000149A */
000000F6 6100 1450 bsr +0x1452 /* 00001548 */
000000FA 6100 2676 bsr +0x2678 /* 00002772 */
000000FE 6100 264E bsr +0x2650 /* 0000274E */
00000102 4A2E 054D tst.b [A6 + 0x54D]
00000106 67DE beq -0x20 /* 000000E6 */
00000108 47D6 lea.l A3, [A6]
0000010A 6100 2618 bsr +0x261A /* 00002724 */
0000010E 6006 bra +0x8 /* 00000116 */
label00000110:
00000110 3F3C 001E move.w -[A7], 0x1E
00000114 A9C8 syscall SysBeep
label00000116:
00000116 6100 0602 bsr +0x604 /* 0000071A */
label0000011A:
0000011A 4CDF 1CFC movem.l D2,D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
0000011E 4E5E unlink A6
00000120 205F movea.l A0, [A7]+
00000122 DEC0 add.w A7, D0
00000124 4ED0 jmp [A0]
00000126 5041 addq.w D1, 8
00000128 434B chk.w D1, A3
0000012A 0000 5041 ori.b D0, 0x41 /* 'A' */
0000012E 434B chk.w D1, A3
00000130 0006 4344 ori.b D6, 0x44 /* 'D' */
00000134 4546 chk.w D2, D6
00000136 0000 4344 ori.b D0, 0x44 /* 'D' */
0000013A 4546 chk.w D2, D6
0000013C 0001 4344 ori.b D1, 0x44 /* 'D' */
00000140 4546 chk.w D2, D6
00000142 003D 4344 ori.b <<invalid special address>>, 0x44 /* 'D' */
00000146 4546 chk.w D2, D6
00000148 003F 666D ori.b <<invalid special address>>, 0x6D /* 'm' */
0000014C 6170 bsr +0x72 /* 000001BE */
0000014E BF87 xor.l D7, D7
00000150 666D bne +0x6F /* 000001BF */
00000152 6170 bsr +0x72 /* 000001C4 */
00000154 E862 asr D2.w, D4
00000156 4C44 4546 movem.l D1,D2,D6,A0,A2,A6, D4
0000015A BF5B xor.w [A3]+, D7
0000015C 5744 subq.w D4, 3
0000015E 4546 chk.w D2, D6
00000160 0000 3600 ori.b D0, 0x0
// begin alternate branch 00000162-00000164
fn00000162:
00000162 3600 move.w D3, D0
// end alternate branch 00000162-00000164
fn00000162: // (misaligned)
00000164 2078 0AC4 movea.l A0, [0x00000AC4]
00000168 A069 syscall HGetState
0000016A 1800 move.b D4, D0
0000016C A029 syscall HLock
0000016E 203C 0000 072C move.l D0, 0x72C
00000174 A31E syscall NewPtrClear, flags=3
00000176 4A40 tst.w D0
00000178 671C beq +0x1E /* 00000196 */
0000017A 2078 0AC4 movea.l A0, [0x00000AC4]
0000017E 1004 move.b D0, D4
00000180 A06A syscall HSetState
00000182 584F addq.w A7, 4
00000184 206E 001A movea.l A0, [A6 + 0x1A]
00000188 0C43 0004 cmpi.w D3, 0x4
0000018C 6304 bls +0x6 /* 00000192 */
0000018E 206E 0022 movea.l A0, [A6 + 0x22]
label00000192:
00000192 4250 clr.w [A0]
00000194 6084 bra -0x7A /* 0000011A */
label00000196:
00000196 284E movea.l A4, A6
00000198 2C48 movea.l A6, A0
0000019A 2D4C 0154 move.l [A6 + 0x154], A4
0000019E 1D44 0324 move.b [A6 + 0x324], D4
000001A2 7012 moveq.l D0, 0x12
000001A4 6100 12E4 bsr +0x12E6 /* 0000148A */
000001A8 3D40 0536 move.w [A6 + 0x536], D0
000001AC 594F subq.w A7, 4
000001AE 3F3C FFFF move.w -[A7], 0xFFFF
000001B2 3F3C 0054 move.w -[A7], 0x54 /* 'T' */
000001B6 2F3C 8404 000C move.l -[A7], 0x8404000C
000001BC A8B5 syscall ScriptUtil
fn000001BE:
000001BE 201F move.l D0, [A7]+
000001C0 3D40 053A move.w [A6 + 0x53A], D0
fn000001C4:
000001C4 4840 swap.w D0
000001C6 3D40 0538 move.w [A6 + 0x538], D0
000001CA 3D78 0BA6 071E move.w [A6 + 0x71E], [0x00000BA6 /* SysFontFam */]
000001D0 3D78 0BA8 0720 move.w [A6 + 0x720], [0x00000BA8 /* DefFontSize */]
000001D6 3D6E 0536 0724 move.w [A6 + 0x724], [A6 + 0x536]
000001DC 203C 6C61 6E67 move.l D0, 0x6C616E67 /* 'lang' */
000001E2 A1AD syscall Gestalt, flags=1
000001E4 6600 001E bne +0x20 /* 00000204 */
000001E8 2008 move.l D0, A0
000001EA 0800 0001 btst.b D0, 0x1
000001EE 6714 beq +0x16 /* 00000204 */
000001F0 1D7C 0001 072A move.b [A6 + 0x72A], 0x1
000001F6 554F subq.w A7, 2
000001F8 303C 00FA move.w D0, 0xFA
000001FC AA6D syscall LanguageMgr
000001FE 301F move.w D0, [A7]+
00000200 3D40 0724 move.w [A6 + 0x724], D0
label00000204:
00000204 2078 02B6 movea.l A0, [0x000002B6 /* ExpandMem */]
00000208 0CA8 0000 01D0 0002 cmpi.l [A0 + 0x2], 0x1D0
00000210 6D08 blt +0xA /* 0000021A */
00000212 4A68 01D0 tst.w [A0 + 0x1D0]
00000216 56EE 072B sne [A6 + 0x72B]
label0000021A:
0000021A 594F subq.w A7, 4
0000021C 3F2E 0724 move.w -[A7], [A6 + 0x724]
00000220 3F3C 0054 move.w -[A7], 0x54 /* 'T' */
00000224 2F3C 8404 000C move.l -[A7], 0x8404000C
0000022A A8B5 syscall ScriptUtil
0000022C 201F move.l D0, [A7]+
0000022E 3D40 0728 move.w [A6 + 0x728], D0
00000232 4840 swap.w D0
00000234 3D40 0726 move.w [A6 + 0x726], D0
00000238 6100 124E bsr +0x1250 /* 00001488 */
0000023C 670A beq +0xC /* 00000248 */
0000023E B06E 0724 cmp.w D0, [A6 + 0x724]
00000242 6704 beq +0x6 /* 00000248 */
00000244 302E 0724 move.w D0, [A6 + 0x724]
label00000248:
00000248 3F00 move.w -[A7], D0
0000024A 41EE 0216 lea.l A0, [A6 + 0x216]
0000024E 4250 clr.w [A0]
00000250 316E 0724 0002 move.w [A0 + 0x2], [A6 + 0x724]
00000256 3F3C 0002 move.w -[A7], 0x2
0000025A 2F08 move.l -[A7], A0
0000025C 2F3C 8006 FFAE move.l -[A7], 0x8006FFAE
00000262 A8B5 syscall ScriptUtil
00000264 2F3C 8002 0004 move.l -[A7], 0x80020004
0000026A A8B5 syscall ScriptUtil
0000026C 422E 0592 clr.b [A6 + 0x592]
00000270 203C 6873 6364 move.l D0, 0x68736364 /* 'hscd' */
00000276 A1AD syscall Gestalt, flags=1
00000278 4A40 tst.w D0
0000027A 6706 beq +0x8 /* 00000282 */
0000027C 1D7C 0001 0592 move.b [A6 + 0x592], 0x1
label00000282:
00000282 3D43 04A2 move.w [A6 + 0x4A2], D3
00000286 0C43 0004 cmpi.w D3, 0x4
0000028A 52EE 04A6 shi [A6 + 0x4A6]
0000028E 52EE 04A5 shi [A6 + 0x4A5]
00000292 0C43 0002 cmpi.w D3, 0x2
00000296 6E04 bgt +0x6 /* 0000029C */
00000298 50EE 04A5 st [A6 + 0x4A5]
label0000029C:
0000029C 0C43 0006 cmpi.w D3, 0x6
000002A0 52EE 04A7 shi [A6 + 0x4A7]
000002A4 0803 0000 btst.b D3, 0x0
000002A8 57EE 04A4 seq [A6 + 0x4A4]
000002AC 6700 0084 beq +0x86 /* 00000332 */
000002B0 4A2E 04A6 tst.b [A6 + 0x4A6]
000002B4 6640 bne +0x42 /* 000002F6 */
000002B6 3D7C 0026 04AA move.w [A6 + 0x4AA], 0x26 /* '&' */
000002BC 2D6C 002A 015A move.l [A6 + 0x15A], [A4 + 0x2A]
000002C2 2D6C 0026 015E move.l [A6 + 0x15E], [A4 + 0x26]
000002C8 2D6C 0022 0162 move.l [A6 + 0x162], [A4 + 0x22]
000002CE 3D7C F061 0572 move.w [A6 + 0x572], 0xF061
000002D4 41FA FD4C lea.l A0, [PC - 0x2B4 /* 00000022, value 0x10200, cstring "" */]
000002D8 2D48 0542 move.l [A6 + 0x542], A0
000002DC 41FA FD51 lea.l A0, [PC - 0x2AF /* 0000002F, value 0x1020B, cstring "" */]
000002E0 2D48 0546 move.l [A6 + 0x546], A0
000002E4 1D7C 0008 054C move.b [A6 + 0x54C], 0x8
000002EA 41FA FD22 lea.l A0, [PC - 0x2DE /* 0000000E, value 0x20007, cstring "" */]
000002EE 2D48 017E move.l [A6 + 0x17E], A0
000002F2 6000 010A bra +0x10C /* 000003FE */
label000002F6:
000002F6 3D7C 0026 04AA move.w [A6 + 0x4AA], 0x26 /* '&' */
000002FC 2D6C 002A 015E move.l [A6 + 0x15E], [A4 + 0x2A]
00000302 2D6C 0026 0162 move.l [A6 + 0x162], [A4 + 0x26]
00000308 302C 0020 move.w D0, [A4 + 0x20]
0000030C 6604 bne +0x6 /* 00000312 */
0000030E 303C E865 move.w D0, 0xE865
label00000312:
00000312 3D40 0178 move.w [A6 + 0x178], D0
00000316 1D7C 000B 054C move.b [A6 + 0x54C], 0xB
0000031C 2D6C 0010 017E move.l [A6 + 0x17E], [A4 + 0x10]
00000322 6600 00BC bne +0xBE /* 000003E0 */
00000326 41FA FCF0 lea.l A0, [PC - 0x310 /* 00000018, value 0x2000A, cstring "" */]
0000032A 2D48 017E move.l [A6 + 0x17E], A0
0000032E 6000 00B0 bra +0xB2 /* 000003E0 */
label00000332:
00000332 4A2E 04A6 tst.b [A6 + 0x4A6]
00000336 664A bne +0x4C /* 00000382 */
00000338 3D7C 002C 04AA move.w [A6 + 0x4AA], 0x2C /* ',' */
0000033E 2D6C 0030 015A move.l [A6 + 0x15A], [A4 + 0x30]
00000344 2D6C 002C 015E move.l [A6 + 0x15E], [A4 + 0x2C]
0000034A 2D6C 0028 0166 move.l [A6 + 0x166], [A4 + 0x28]
00000350 3D6C 0026 016A move.w [A6 + 0x16A], [A4 + 0x26]
00000356 2D6C 0022 016C move.l [A6 + 0x16C], [A4 + 0x22]
0000035C 3D7C F060 0572 move.w [A6 + 0x572], 0xF060
00000362 41FA FCD4 lea.l A0, [PC - 0x32C /* 00000038, value 0x10300, cstring "" */]
00000366 2D48 0542 move.l [A6 + 0x542], A0
0000036A 41FA FCD9 lea.l A0, [PC - 0x327 /* 00000045, value 0x10202, cstring "" */]
0000036E 2D48 0546 move.l [A6 + 0x546], A0
00000372 1D7C 0007 054C move.b [A6 + 0x54C], 0x7
00000378 41FA FC9A lea.l A0, [PC - 0x366 /* 00000014, value 0x10007, cstring "" */]
0000037C 2D48 017E move.l [A6 + 0x17E], A0
00000380 607C bra +0x7E /* 000003FE */
label00000382:
00000382 3D7C 0028 04AA move.w [A6 + 0x4AA], 0x28 /* '(' */
00000388 42AE 015E clr.l [A6 + 0x15E]
0000038C 2D6C 002C 0166 move.l [A6 + 0x166], [A4 + 0x2C]
00000392 322C 002A move.w D1, [A4 + 0x2A]
00000396 3D41 016A move.w [A6 + 0x16A], D1
0000039A 302E 04A2 move.w D0, [A6 + 0x4A2]
0000039E 0C40 0008 cmpi.w D0, 0x8
000003A2 6612 bne +0x14 /* 000003B6 */
000003A4 4AAE 0166 tst.l [A6 + 0x166]
000003A8 56EE 0569 sne [A6 + 0x569]
000003AC 0C41 FFFF cmpi.w D1, 0xFFFF
000003B0 57C0 seq D0
000003B2 C12E 0569 and.b [A6 + 0x569], D0
label000003B6:
000003B6 2D6C 0026 016C move.l [A6 + 0x16C], [A4 + 0x26]
000003BC 302C 0020 move.w D0, [A4 + 0x20]
000003C0 6604 bne +0x6 /* 000003C6 */
000003C2 303C E866 move.w D0, 0xE866
label000003C6:
000003C6 3D40 0178 move.w [A6 + 0x178], D0
000003CA 1D7C 0009 054C move.b [A6 + 0x54C], 0x9 /* '\t' */
000003D0 2D6C 0010 017E move.l [A6 + 0x17E], [A4 + 0x10]
000003D6 6608 bne +0xA /* 000003E0 */
000003D8 41FA FC44 lea.l A0, [PC - 0x3BC /* 0000001E, value 0x10007, cstring "" */]
000003DC 2D48 017E move.l [A6 + 0x17E], A0
label000003E0:
000003E0 2D6C 0022 0174 move.l [A6 + 0x174], [A4 + 0x22]
000003E6 2D6C 001C 015A move.l [A6 + 0x15A], [A4 + 0x1C]
000003EC 2D6C 0018 0170 move.l [A6 + 0x170], [A4 + 0x18]
000003F2 2D6C 0014 017A move.l [A6 + 0x17A], [A4 + 0x14]
000003F8 50EE 054E st [A6 + 0x54E]
000003FC 607C bra +0x7E /* 0000047A */
label000003FE:
000003FE 2D6C 001E 0170 move.l [A6 + 0x170], [A4 + 0x1E]
00000404 2D6C 001A 0174 move.l [A6 + 0x174], [A4 + 0x1A]
0000040A 3D6C 0018 0178 move.w [A6 + 0x178], [A4 + 0x18]
00000410 2D6C 0014 017A move.l [A6 + 0x17A], [A4 + 0x14]
00000416 422E 054E clr.b [A6 + 0x54E]
0000041A 4AAE 017A tst.l [A6 + 0x17A]
0000041E 665A bne +0x5C /* 0000047A */
00000420 4AAE 0170 tst.l [A6 + 0x170]
00000424 6654 bne +0x56 /* 0000047A */
00000426 4A2E 04A4 tst.b [A6 + 0x4A4]
0000042A 6626 bne +0x28 /* 00000452 */
0000042C 0C6E F061 0178 cmpi.w [A6 + 0x178], 0xF061
00000432 6646 bne +0x48 /* 0000047A */
00000434 50EE 054E st [A6 + 0x54E]
00000438 3D7C E865 0178 move.w [A6 + 0x178], 0xE865
0000043E 1D7C 000B 054C move.b [A6 + 0x54C], 0xB
00000444 41FA FBD2 lea.l A0, [PC - 0x42E /* 00000018, value 0x2000A, cstring "" */]
00000448 2D48 017E move.l [A6 + 0x17E], A0
0000044C 52EE 04A5 shi [A6 + 0x4A5]
00000450 6024 bra +0x26 /* 00000476 */
label00000452:
00000452 0C6E F060 0178 cmpi.w [A6 + 0x178], 0xF060
00000458 6620 bne +0x22 /* 0000047A */
0000045A 50EE 054E st [A6 + 0x54E]
0000045E 3D7C E866 0178 move.w [A6 + 0x178], 0xE866
00000464 1D7C 0009 054C move.b [A6 + 0x54C], 0x9 /* '\t' */
0000046A 41FA FBB2 lea.l A0, [PC - 0x44E /* 0000001E, value 0x10007, cstring "" */]
0000046E 2D48 017E move.l [A6 + 0x17E], A0
00000472 52EE 04A5 shi [A6 + 0x4A5]
label00000476:
00000476 426E 0572 clr.w [A6 + 0x572]
label0000047A:
0000047A 2D6C 000C 0182 move.l [A6 + 0x182], [A4 + 0xC]
00000480 2D6C 0008 0186 move.l [A6 + 0x186], [A4 + 0x8]
00000486 486E 031A pea.l [A6 + 0x31A]
0000048A A874 syscall GetPort
0000048C 2D78 0338 031E move.l [A6 + 0x31E], [0x00000338 /* EjectNotify */]
00000492 43FA 2C66 lea.l A1, [PC + 0x2C66 /* 000030FA, value 0x225F301F */]
00000496 21C9 0338 move.l [0x00000338 /* EjectNotify */], A1
0000049A 206E 0174 movea.l A0, [A6 + 0x174]
0000049E 4250 clr.w [A0]
000004A0 45FA FC84 lea.l A2, [PC - 0x37C /* 00000126, value 0x5041434B 'PACK', cstring "PACK" */]
000004A4 49EE 0588 lea.l A4, [A6 + 0x588]
000004A8 7600 moveq.l D3, 0x00
label000004AA:
000004AA 594F subq.w A7, 4
000004AC 2F1A move.l -[A7], [A2]+
000004AE 3F1A move.w -[A7], [A2]+
000004B0 A9A0 syscall GetResource
000004B2 201F move.l D0, [A7]+
000004B4 6606 bne +0x8 /* 000004BC */
000004B6 584F addq.w A7, 4
000004B8 6000 FC56 bra -0x3A8 /* 00000110 */
label000004BC:
000004BC 2040 movea.l A0, D0
000004BE A069 syscall HGetState
000004C0 18C0 move.b [A4]+, D0
000004C2 A04A syscall HNoPurge
000004C4 5243 addq.w D3, 1
000004C6 1D43 0587 move.b [A6 + 0x587], D3
000004CA 0C03 000A cmpi.b D3, 0xA /* '\n' */
000004CE 6DDA blt -0x24 /* 000004AA */
000004D0 594F subq.w A7, 4
000004D2 2F3C 666D 6170 move.l -[A7], 0x666D6170 /* 'fmap' */
000004D8 3F3C BF87 move.w -[A7], 0xBF87
000004DC A9A0 syscall GetResource
000004DE 2D5F 055C move.l [A6 + 0x55C], [A7]+
000004E2 594F subq.w A7, 4
000004E4 2F3C 666D 6170 move.l -[A7], 0x666D6170 /* 'fmap' */
000004EA 3F3C E862 move.w -[A7], 0xE862
000004EE A9A0 syscall GetResource
000004F0 2D5F 0560 move.l [A6 + 0x560], [A7]+
000004F4 286E 0174 movea.l A4, [A6 + 0x174]
000004F8 4A2E 04A6 tst.b [A6 + 0x4A6]
000004FC 6604 bne +0x6 /* 00000502 */
000004FE 426C 0008 clr.w [A4 + 0x8]
label00000502:
00000502 4254 clr.w [A4]
00000504 422E 054D clr.b [A6 + 0x54D]
00000508 7001 moveq.l D0, 0x01
0000050A 3D40 0458 move.w [A6 + 0x458], D0
0000050E 7002 moveq.l D0, 0x02
00000510 2D40 03C2 move.l [A6 + 0x3C2], D0
00000514 486E 045C pea.l [A6 + 0x45C]
00000518 3F3C 0028 move.w -[A7], 0x28 /* '(' */
0000051C A9ED syscall Pack6
0000051E 594F subq.w A7, 4
00000520 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00000524 2F3C 8402 0008 move.l -[A7], 0x84020008
0000052A A8B5 syscall ScriptUtil
0000052C 201F move.l D0, [A7]+
0000052E 0C40 0000 cmpi.w D0, 0x0
00000532 57EE 0586 seq [A6 + 0x586]
00000536 3D7C FD66 0580 move.w [A6 + 0x580], 0xFD66
0000053C 3D78 0214 0322 move.w [A6 + 0x322], [0x00000214 /* SFSaveDisk */]
00000542 4278 0214 clr.w [0x00000214 /* SFSaveDisk */]
00000546 3238 0210 move.w D1, [0x00000210 /* BootDrive */]
0000054A 41EE 018A lea.l A0, [A6 + 0x18A]
0000054E 3141 0016 move.w [A0 + 0x16], D1
00000552 42A8 0012 clr.l [A0 + 0x12]
00000556 4268 001A clr.w [A0 + 0x1A]
0000055A 7007 moveq.l D0, 0x07
0000055C A260 syscall FSDispatch/HFSDispatch, flags=2
0000055E 6B04 bmi +0x6 /* 00000564 */
00000560 3228 0020 move.w D1, [A0 + 0x20]
label00000564:
00000564 3D41 053C move.w [A6 + 0x53C], D1
00000568 4268 001C clr.w [A0 + 0x1C]
0000056C 316E 053C 0016 move.w [A0 + 0x16], [A6 + 0x53C]
00000572 42A8 0012 clr.l [A0 + 0x12]
00000576 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00000578 3D68 0042 053E move.w [A6 + 0x53E], [A0 + 0x42]
0000057E 4A2E 072A tst.b [A6 + 0x72A]
00000582 6714 beq +0x16 /* 00000598 */
00000584 554F subq.w A7, 2
00000586 3F3C FFFE move.w -[A7], 0xFFFE
0000058A 3F3C FFFB move.w -[A7], 0xFFFB
0000058E 303C 02FD move.w D0, 0x2FD
00000592 AA6D syscall LanguageMgr
00000594 3D5F 0722 move.w [A6 + 0x722], [A7]+
label00000598:
00000598 42AE 070E clr.l [A6 + 0x70E]
0000059C 426E 0618 clr.w [A6 + 0x618]
000005A0 422E 0715 clr.b [A6 + 0x715]
000005A4 422E 0714 clr.b [A6 + 0x714]
000005A8 203C 786C 6174 move.l D0, 0x786C6174 /* 'xlat' */
000005AE A1AD syscall Gestalt, flags=1
000005B0 6600 0026 bne +0x28 /* 000005D8 */
000005B4 2008 move.l D0, A0
000005B6 0800 0000 btst.b D0, 0x0
000005BA 671C beq +0x1E /* 000005D8 */
000005BC 56EE 0714 sne [A6 + 0x714]
000005C0 5D4F subq.w A7, 6
000005C2 486F 0002 pea.l [A7 + 0x2]
000005C6 7024 moveq.l D0, 0x24
000005C8 ABFC syscall TranslationDispatch
000005CA 4A5F tst.w [A7]+
000005CC 660A bne +0xC /* 000005D8 */
000005CE 201F move.l D0, [A7]+
000005D0 0800 0000 btst.b D0, 0x0
000005D4 56EE 0715 sne [A6 + 0x715]
label000005D8:
000005D8 426E 0552 clr.w [A6 + 0x552]
000005DC 203C 6F73 2020 move.l D0, 0x6F732020 /* 'os ' */
000005E2 A1AD syscall Gestalt, flags=1
000005E4 4A40 tst.w D0
000005E6 6624 bne +0x26 /* 0000060C */
000005E8 2008 move.l D0, A0
000005EA 0800 0003 btst.b D0, 0x3
000005EE 671C beq +0x1E /* 0000060C */
000005F0 50EE 0552 st [A6 + 0x552]
000005F4 203C 7374 6466 move.l D0, 0x73746466 /* 'stdf' */
000005FA A1AD syscall Gestalt, flags=1
000005FC 4A40 tst.w D0
000005FE 660C bne +0xE /* 0000060C */
00000600 2008 move.l D0, A0
00000602 0800 0003 btst.b D0, 0x3
00000606 6704 beq +0x6 /* 0000060C */
00000608 426E 0552 clr.w [A6 + 0x552]
label0000060C:
0000060C 6100 1120 bsr +0x1122 /* 0000172E */
00000610 6100 1342 bsr +0x1344 /* 00001954 */
00000614 6100 1612 bsr +0x1614 /* 00001C28 */
00000618 4A2E 04A4 tst.b [A6 + 0x4A4]
0000061C 6700 0076 beq +0x78 /* 00000694 */
00000620 302E 016A move.w D0, [A6 + 0x16A]
00000624 6A44 bpl +0x46 /* 0000066A */
00000626 0C40 FFFE cmpi.w D0, 0xFFFE
0000062A 6668 bne +0x6A /* 00000694 */
0000062C 4AAE 017A tst.l [A6 + 0x17A]
00000630 6662 bne +0x64 /* 00000694 */
00000632 4AAE 016C tst.l [A6 + 0x16C]
00000636 665C bne +0x5E /* 00000694 */
00000638 303C 0001 move.w D0, 0x1
0000063C 3D40 016A move.w [A6 + 0x16A], D0
00000640 594F subq.w A7, 4
00000642 2F3C 6F70 656E move.l -[A7], 0x6F70656E /* 'open' */
00000648 3F3C 0080 move.w -[A7], 0x80
0000064C A9A0 syscall GetResource
0000064E 201F move.l D0, [A7]+
00000650 6742 beq +0x44 /* 00000694 */
00000652 2040 movea.l A0, D0
00000654 A029 syscall HLock
00000656 2D48 061A move.l [A6 + 0x61A], A0
0000065A 2050 movea.l A0, [A0]
0000065C 2D68 0006 016A move.l [A6 + 0x16A], [A0 + 0x6]
00000662 43E8 0008 lea.l A1, [A0 + 0x8]
00000666 2D49 016C move.l [A6 + 0x16C], A1
label0000066A:
0000066A 4A2E 0715 tst.b [A6 + 0x715]
0000066E 6724 beq +0x26 /* 00000694 */
00000670 3D7C 0020 0618 move.w [A6 + 0x618], 0x20 /* ' ' */
00000676 554F subq.w A7, 2
00000678 2F2E 016C move.l -[A7], [A6 + 0x16C]
0000067C 3F2E 016A move.w -[A7], [A6 + 0x16A]
00000680 486E 0598 pea.l [A6 + 0x598]
00000684 486E 0618 pea.l [A6 + 0x618]
00000688 7009 moveq.l D0, 0x09
0000068A ABFC syscall TranslationDispatch
0000068C 301F move.w D0, [A7]+
0000068E 6704 beq +0x6 /* 00000694 */
00000690 426E 0618 clr.w [A6 + 0x618]
label00000694:
00000694 4A2E 054E tst.b [A6 + 0x54E]
00000698 6712 beq +0x14 /* 000006AC */
0000069A 4A2E 04A4 tst.b [A6 + 0x4A4]
0000069E 660C bne +0xE /* 000006AC */
000006A0 610C bsr +0xE /* 000006AE */
000006A2 4A80 tst.l D0
000006A4 6606 bne +0x8 /* 000006AC */
000006A6 584F addq.w A7, 4
000006A8 6000 FA66 bra -0x598 /* 00000110 */
label000006AC:
000006AC 4E75 rts
fn000006AE:
000006AE 594F subq.w A7, 4
000006B0 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
000006B6 3F2E 0178 move.w -[A7], [A6 + 0x178]
000006BA A9A0 syscall GetResource
000006BC 201F move.l D0, [A7]+
000006BE 6758 beq +0x5A /* 00000718 */
000006C0 2040 movea.l A0, D0
000006C2 2050 movea.l A0, [A0]
000006C4 594F subq.w A7, 4
000006C6 2F3C 4449 544C move.l -[A7], 0x4449544C /* 'DITL' */
000006CC 3F28 0012 move.w -[A7], [A0 + 0x12]
000006D0 A9A0 syscall GetResource
000006D2 201F move.l D0, [A7]+
000006D4 6742 beq +0x44 /* 00000718 */
000006D6 2040 movea.l A0, D0
000006D8 2248 movea.l A1, A0
000006DA 720A moveq.l D1, 0x0A
000006DC 6100 30F4 bsr +0x30F6 /* 000037D2 */
000006E0 41E8 000C lea.l A0, [A0 + 0xC]
000006E4 1010 move.b D0, [A0]
000006E6 0200 007F andi.b D0, 0x7F
000006EA 662C bne +0x2E /* 00000718 */
000006EC 7007 moveq.l D0, 0x07
000006EE 10C0 move.b [A0]+, D0
000006F0 10FC 0002 move.b [A0]+, 0x2
000006F4 594F subq.w A7, 4
000006F6 2F09 move.l -[A7], A1
000006F8 2251 movea.l A1, [A1]
000006FA 91C9 sub.l A0, A1
000006FC 2F08 move.l -[A7], A0
000006FE 7000 moveq.l D0, 0x00
00000700 2F00 move.l -[A7], D0
00000702 2F00 move.l -[A7], D0
00000704 3D7C E862 0550 move.w [A6 + 0x550], 0xE862
0000070A 486E 0550 pea.l [A6 + 0x550]
0000070E 7002 moveq.l D0, 0x02
00000710 2F00 move.l -[A7], D0
00000712 A9E0 syscall Munger
00000714 584F addq.w A7, 4
00000716 7001 moveq.l D0, 0x01
label00000718:
00000718 4E75 rts
fn0000071A:
0000071A 6100 117E bsr +0x1180 /* 0000189A */
0000071E 43EE 0554 lea.l A1, [A6 + 0x554]
00000722 2211 move.l D1, [A1]
label00000724:
00000724 4A81 tst.l D1
00000726 670C beq +0xE /* 00000734 */
00000728 2041 movea.l A0, D1
0000072A 43E8 0080 lea.l A1, [A0 + 0x80]
0000072E 2211 move.l D1, [A1]
00000730 A01F syscall DisposPtr/DisposePtr
00000732 60F0 bra -0xE /* 00000724 */
label00000734:
00000734 206E 03FA movea.l A0, [A6 + 0x3FA]
00000738 A023 syscall DisposHandle/DisposeHandle
0000073A 42A7 clr.l -[A7]
0000073C 3F3C F060 move.w -[A7], 0xF060
00000740 A949 syscall GetMenuHandle
00000742 201F move.l D0, [A7]+
00000744 670A beq +0xC /* 00000750 */
00000746 2F00 move.l -[A7], D0
00000748 3F3C F060 move.w -[A7], 0xF060
0000074C A936 syscall DeleteMenu
0000074E A932 syscall DisposeMenu
label00000750:
00000750 202E 061A move.l D0, [A6 + 0x61A]
00000754 6704 beq +0x6 /* 0000075A */
00000756 2F00 move.l -[A7], D0
00000758 A9A3 syscall ReleaseResource
label0000075A:
0000075A 4A2E 072A tst.b [A6 + 0x72A]
0000075E 670A beq +0xC /* 0000076A */
00000760 3F2E 0722 move.w -[A7], [A6 + 0x722]
00000764 303C 01FC move.w D0, 0x1FC
00000768 AA6D syscall LanguageMgr
label0000076A:
0000076A 2F2E 031A move.l -[A7], [A6 + 0x31A]
0000076E A873 syscall SetPort
00000770 21EE 031E 0338 move.l [0x00000338 /* EjectNotify */], [A6 + 0x31E]
00000776 4A2E 0455 tst.b [A6 + 0x455]
0000077A 6706 beq +0x8 /* 00000782 */
0000077C 3F3C 0004 move.w -[A7], 0x4
00000780 A9E9 syscall Pack2
label00000782:
00000782 45FA F9A2 lea.l A2, [PC - 0x65E /* 00000126, value 0x5041434B 'PACK', cstring "PACK" */]
00000786 49EE 0588 lea.l A4, [A6 + 0x588]
0000078A 162E 0587 move.b D3, [A6 + 0x587]
label0000078E:
0000078E 5303 subq.b D3, 1
00000790 6D16 blt +0x18 /* 000007A8 */
00000792 594F subq.w A7, 4
00000794 2F1A move.l -[A7], [A2]+
00000796 3F1A move.w -[A7], [A2]+
00000798 A9A0 syscall GetResource
0000079A 205F movea.l A0, [A7]+
0000079C 101C move.b D0, [A4]+
0000079E 0800 0006 btst.b D0, 0x6
000007A2 67EA beq -0x14 /* 0000078E */
000007A4 A049 syscall HPurge
000007A6 60E6 bra -0x18 /* 0000078E */
label000007A8:
000007A8 2078 0AC4 movea.l A0, [0x00000AC4]
000007AC 102E 0324 move.b D0, [A6 + 0x324]
000007B0 A06A syscall HSetState
000007B2 3F3C FFF9 move.w -[A7], 0xFFF9
000007B6 2F3C 8002 0004 move.l -[A7], 0x80020004
000007BC A8B5 syscall ScriptUtil
000007BE 362E 04AA move.w D3, [A6 + 0x4AA]
000007C2 286E 0154 movea.l A4, [A6 + 0x154]
000007C6 204E movea.l A0, A6
000007C8 A01F syscall DisposPtr/DisposePtr
000007CA 2C4C movea.l A6, A4
000007CC 3003 move.w D0, D3
000007CE 4E75 rts
label000007D0:
000007D0 323C 0007 move.w D1, 0x7
000007D4 6100 1E8E bsr +0x1E90 /* 00002664 */
000007D8 4E75 rts
fn000007DA:
000007DA 4A2E 054E tst.b [A6 + 0x54E]
000007DE 6618 bne +0x1A /* 000007F8 */
000007E0 0C40 00FF cmpi.w D0, 0xFF
000007E4 620A bhi +0xC /* 000007F0 */
000007E6 206E 0546 movea.l A0, [A6 + 0x546]
000007EA B02E 054C cmp.b D0, [A6 + 0x54C]
000007EE 6304 bls +0x6 /* 000007F4 */
label000007F0:
000007F0 B000 cmp.b D0, D0
000007F2 6004 bra +0x6 /* 000007F8 */
label000007F4:
000007F4 1030 0000 move.b D0, [A0 + D0.w]
label000007F8:
000007F8 4E75 rts
fn000007FA:
000007FA 4A2E 054E tst.b [A6 + 0x54E]
000007FE 6608 bne +0xA /* 00000808 */
00000800 206E 0542 movea.l A0, [A6 + 0x542]
00000804 1030 0000 move.b D0, [A0 + D0.w]
label00000808:
00000808 4E75 rts
0000080A 302E 0204 move.w D0, [A6 + 0x204]
0000080E 0C40 FFFF cmpi.w D0, 0xFFFF
00000812 6700 008A beq +0x8C /* 0000089E */
00000816 0C40 FFFE cmpi.w D0, 0xFFFE
0000081A 6700 0394 beq +0x396 /* 00000BB0 */
0000081E 61BA bsr -0x44 /* 000007DA */
00000820 5340 subq.w D0, 1
00000822 6700 03A0 beq +0x3A2 /* 00000BC4 */
00000826 5340 subq.w D0, 1
00000828 6700 0394 beq +0x396 /* 00000BBE */
0000082C 5540 subq.w D0, 2
0000082E 6700 0858 beq +0x85A /* 00001088 */
00000832 5340 subq.w D0, 1
00000834 6700 08D2 beq +0x8D4 /* 00001108 */
00000838 5340 subq.w D0, 1
0000083A 6700 0924 beq +0x926 /* 00001160 */
0000083E 5D40 subq.w D0, 6
00000840 6700 0620 beq +0x622 /* 00000E62 */
00000844 6D56 blt +0x58 /* 0000089C */
00000846 0440 0059 subi.w D0, 0x59 /* 'Y' */
0000084A 6D50 blt +0x52 /* 0000089C */
0000084C 6700 093A beq +0x93C /* 00001188 */
00000850 5340 subq.w D0, 1
00000852 6700 09A4 beq +0x9A6 /* 000011F8 */
00000856 5340 subq.w D0, 1
00000858 6700 09C0 beq +0x9C2 /* 0000121A */
0000085C 5340 subq.w D0, 1
0000085E 6700 0A70 beq +0xA72 /* 000012D0 */
00000862 5340 subq.w D0, 1
00000864 6700 0B34 beq +0xB36 /* 0000139A */
00000868 5340 subq.w D0, 1
0000086A 6700 0B72 beq +0xB74 /* 000013DE */
0000086E 5340 subq.w D0, 1
00000870 6700 0816 beq +0x818 /* 00001088 */
00000874 5340 subq.w D0, 1
00000876 6700 08E8 beq +0x8EA /* 00001160 */
0000087A 5340 subq.w D0, 1
0000087C 6700 08F6 beq +0x8F8 /* 00001174 */
00000880 5340 subq.w D0, 1
00000882 6700 0934 beq +0x936 /* 000011B8 */
00000886 0440 005A subi.w D0, 0x5A /* 'Z' */
0000088A 6D10 blt +0x12 /* 0000089C */
0000088C 0C40 0032 cmpi.w D0, 0x32 /* '2' */
00000890 6D00 0B9A blt +0xB9C /* 0000142C */
00000894 0440 0F38 subi.w D0, 0xF38
00000898 6E00 0B98 bgt +0xB9A /* 00001432 */
label0000089C:
0000089C 4E75 rts
label0000089E:
0000089E 4857 pea.l [A7]
000008A0 A874 syscall GetPort
000008A2 205F movea.l A0, [A7]+
000008A4 3F28 0044 move.w -[A7], [A0 + 0x44]
000008A8 3F28 004A move.w -[A7], [A0 + 0x4A]
000008AC 3F2E 0538 move.w -[A7], [A6 + 0x538]
000008B0 A887 syscall TextFont
000008B2 3F2E 053A move.w -[A7], [A6 + 0x53A]
000008B6 A88A syscall TextSize
000008B8 486E 0400 pea.l [A6 + 0x400]
000008BC A88B syscall GetFontInfo
000008BE 302E 0400 move.w D0, [A6 + 0x400]
000008C2 D06E 0402 add.w D0, [A6 + 0x402]
000008C6 D06E 0406 add.w D0, [A6 + 0x406]
000008CA 3D40 0408 move.w [A6 + 0x408], D0
000008CE A88A syscall TextSize
000008D0 A887 syscall TextFont
000008D2 422E 032F clr.b [A6 + 0x32F]
000008D6 7001 moveq.l D0, 0x01
000008D8 41EE 04B0 lea.l A0, [A6 + 0x4B0]
000008DC 6100 0172 bsr +0x174 /* 00000A50 */
000008E0 2D6E 020C 04EC move.l [A6 + 0x4EC], [A6 + 0x20C]
000008E6 2D6E 0210 04F0 move.l [A6 + 0x4F0], [A6 + 0x210]
000008EC 0C6E 0004 0214 cmpi.w [A6 + 0x214], 0x4
000008F2 6704 beq +0x6 /* 000008F8 */
000008F4 42AE 04B0 clr.l [A6 + 0x4B0]
label000008F8:
000008F8 7002 moveq.l D0, 0x02
000008FA 41EE 04B4 lea.l A0, [A6 + 0x4B4]
000008FE 6100 0150 bsr +0x152 /* 00000A50 */
00000902 7005 moveq.l D0, 0x05
00000904 41EE 04B8 lea.l A0, [A6 + 0x4B8]
00000908 6100 0146 bsr +0x148 /* 00000A50 */
0000090C 7006 moveq.l D0, 0x06
0000090E 41EE 04BC lea.l A0, [A6 + 0x4BC]
00000912 6100 013C bsr +0x13E /* 00000A50 */
00000916 42AE 04C0 clr.l [A6 + 0x4C0]
0000091A 43EE 04F6 lea.l A1, [A6 + 0x4F6]
0000091E 7203 moveq.l D1, 0x03
00000920 6100 1D12 bsr +0x1D14 /* 00002634 */
00000924 202E 04B0 move.l D0, [A6 + 0x4B0]
00000928 6730 beq +0x32 /* 0000095A */
0000092A 2F00 move.l -[A7], D0
0000092C 486E 0516 pea.l [A6 + 0x516]
00000930 A95E syscall GetControlTitle/GetCTitle
00000932 7000 moveq.l D0, 0x00
00000934 7200 moveq.l D1, 0x00
00000936 4A2E 0516 tst.b [A6 + 0x516]
0000093A 671E beq +0x20 /* 0000095A */
0000093C 41EE 04F6 lea.l A0, [A6 + 0x4F6]
00000940 1018 move.b D0, [A0]+
00000942 43EE 0516 lea.l A1, [A6 + 0x516]
00000946 1219 move.b D1, [A1]+
00000948 554F subq.w A7, 2
0000094A 2F08 move.l -[A7], A0
0000094C 2F09 move.l -[A7], A1
0000094E 3F00 move.w -[A7], D0
00000950 3F01 move.w -[A7], D1
00000952 3F3C 000C move.w -[A7], 0xC
00000956 A9ED syscall Pack6
00000958 301F move.w D0, [A7]+
label0000095A:
0000095A 1D40 04F5 move.b [A6 + 0x4F5], D0
0000095E 1D40 04F4 move.b [A6 + 0x4F4], D0
00000962 43EE 0216 lea.l A1, [A6 + 0x216]
00000966 720B moveq.l D1, 0x0B
00000968 6100 1CCA bsr +0x1CCC /* 00002634 */
0000096C 41EE 0217 lea.l A0, [A6 + 0x217]
00000970 43EE 0564 lea.l A1, [A6 + 0x564]
00000974 7005 moveq.l D0, 0x05
00000976 A22E syscall BlockMove/BlockMoveData, flags=2
00000978 206E 017E movea.l A0, [A6 + 0x17E]
0000097C 3D68 0002 04EA move.w [A6 + 0x4EA], [A0 + 0x2]
00000982 7007 moveq.l D0, 0x07
00000984 6100 FE74 bsr -0x18A /* 000007FA */
00000988 B06E 04EA cmp.w D0, [A6 + 0x4EA]
0000098C 57EE 056B seq [A6 + 0x56B]
00000990 7004 moveq.l D0, 0x04
00000992 6100 FE66 bsr -0x198 /* 000007FA */
00000996 3600 move.w D3, D0
00000998 6100 19CE bsr +0x19D0 /* 00002368 */
0000099C 7007 moveq.l D0, 0x07
0000099E 6100 FE5A bsr -0x1A4 /* 000007FA */
000009A2 3600 move.w D3, D0
000009A4 6100 19C2 bsr +0x19C4 /* 00002368 */
000009A8 7002 moveq.l D0, 0x02
000009AA 6100 FE4E bsr -0x1B0 /* 000007FA */
000009AE 3200 move.w D1, D0
000009B0 7001 moveq.l D0, 0x01
000009B2 6100 FE46 bsr -0x1B8 /* 000007FA */
000009B6 142E 054E move.b D2, [A6 + 0x54E]
000009BA 6100 1DEE bsr +0x1DF0 /* 000027AA */
000009BE 4A2E 04A4 tst.b [A6 + 0x4A4]
000009C2 664C bne +0x4E /* 00000A10 */
000009C4 202E 015E move.l D0, [A6 + 0x15E]
000009C8 6710 beq +0x12 /* 000009DA */
000009CA 2440 movea.l A2, D0
000009CC 700B moveq.l D0, 0x0B
000009CE 6100 FE2A bsr -0x1D4 /* 000007FA */
000009D2 4A12 tst.b [A2]
000009D4 6704 beq +0x6 /* 000009DA */
000009D6 6100 19AA bsr +0x19AC /* 00002382 */
label000009DA:
000009DA 700A moveq.l D0, 0x0A
000009DC 6100 FE1C bsr -0x1E2 /* 000007FA */
000009E0 246E 0162 movea.l A2, [A6 + 0x162]
000009E4 6100 199C bsr +0x199E /* 00002382 */
000009E8 2F0B move.l -[A7], A3
000009EA 700A moveq.l D0, 0x0A
000009EC 6100 FE0C bsr -0x1F2 /* 000007FA */
000009F0 3F00 move.w -[A7], D0
000009F2 4267 clr.w -[A7]
000009F4 3F3C 012C move.w -[A7], 0x12C
000009F8 A97E syscall SelectDialogItemText/SelIText
000009FA 50E7 st -[A7]
000009FC 2F2B 00A0 move.l -[A7], [A3 + 0xA0]
00000A00 A813 syscall TEAutoView
00000A02 4A2E 054E tst.b [A6 + 0x54E]
00000A06 6708 beq +0xA /* 00000A10 */
00000A08 700C moveq.l D0, 0x0C
00000A0A 41EE 04C0 lea.l A0, [A6 + 0x4C0]
00000A0E 6140 bsr +0x42 /* 00000A50 */
label00000A10:
00000A10 4A2E 04A6 tst.b [A6 + 0x4A6]
00000A14 6604 bne +0x6 /* 00000A1A */
00000A16 6100 2C2A bsr +0x2C2C /* 00003642 */
label00000A1A:
00000A1A 6100 2D4E bsr +0x2D50 /* 0000376A */
00000A1E 6100 2B3A bsr +0x2B3C /* 0000355A */
00000A22 6100 29CA bsr +0x29CC /* 000033EE */
00000A26 6100 2B32 bsr +0x2B34 /* 0000355A */
00000A2A 70FF moveq.l D0, 0xFFFFFFFF
00000A2C B0AE 015A cmp.l D0, [A6 + 0x15A]
00000A30 6612 bne +0x14 /* 00000A44 */
00000A32 2F0B move.l -[A7], A3
00000A34 4227 clr.b -[A7]
00000A36 1F3C 0001 move.b -[A7], 0x1
00000A3A 1F3C 0002 move.b -[A7], 0x2
00000A3E 7009 moveq.l D0, 0x09
00000A40 A829 syscall LayerDispatch
00000A42 600A bra +0xC /* 00000A4E */
label00000A44:
00000A44 2F0B move.l -[A7], A3
00000A46 2F2E 015A move.l -[A7], [A6 + 0x15A]
00000A4A 50E7 st -[A7]
00000A4C A91B syscall MoveWindow
label00000A4E:
00000A4E 4E75 rts
fn00000A50:
00000A50 2F08 move.l -[A7], A0
00000A52 6100 FDA6 bsr -0x258 /* 000007FA */
00000A56 6100 1762 bsr +0x1764 /* 000021BA */
00000A5A 205F movea.l A0, [A7]+
00000A5C 20AE 0208 move.l [A0], [A6 + 0x208]
00000A60 4E75 rts
fn00000A62:
00000A62 3D6E 0204 0570 move.w [A6 + 0x570], [A6 + 0x204]
00000A68 6100 2D3E bsr +0x2D40 /* 000037A8 */
00000A6C 4A2E 054E tst.b [A6 + 0x54E]
00000A70 6604 bne +0x6 /* 00000A76 */
00000A72 6100 2B14 bsr +0x2B16 /* 00003588 */
label00000A76:
00000A76 6100 2AE2 bsr +0x2AE4 /* 0000355A */
00000A7A 6100 2CEE bsr +0x2CF0 /* 0000376A */
00000A7E 4A2E 054E tst.b [A6 + 0x54E]
00000A82 6624 bne +0x26 /* 00000AA8 */
00000A84 41EE 03F2 lea.l A0, [A6 + 0x3F2]
00000A88 316E 03E0 0002 move.w [A0 + 0x2], [A6 + 0x3E0]
00000A8E 316E 03E4 0006 move.w [A0 + 0x6], [A6 + 0x3E4]
00000A94 322E 03DE move.w D1, [A6 + 0x3DE]
00000A98 5941 subq.w D1, 4
00000A9A 3141 0004 move.w [A0 + 0x4], D1
00000A9E 926E 0408 sub.w D1, [A6 + 0x408]
00000AA2 5741 subq.w D1, 3
00000AA4 3081 move.w [A0], D1
00000AA6 6028 bra +0x2A /* 00000AD0 */
label00000AA8:
00000AA8 7008 moveq.l D0, 0x08
00000AAA 6100 170E bsr +0x1710 /* 000021BA */
00000AAE 2D6E 020C 03F2 move.l [A6 + 0x3F2], [A6 + 0x20C]
00000AB4 2D6E 0210 03F6 move.l [A6 + 0x3F6], [A6 + 0x210]
00000ABA 302E 03DE move.w D0, [A6 + 0x3DE]
00000ABE 906E 03F6 sub.w D0, [A6 + 0x3F6]
00000AC2 6B0C bmi +0xE /* 00000AD0 */
00000AC4 5940 subq.w D0, 4
00000AC6 6C08 bge +0xA /* 00000AD0 */
00000AC8 D16E 03F2 add.w [A6 + 0x3F2], D0
00000ACC D16E 03F6 add.w [A6 + 0x3F6], D0
label00000AD0:
00000AD0 594F subq.w A7, 4
00000AD2 2F0B move.l -[A7], A3
00000AD4 486E 03F2 pea.l [A6 + 0x3F2]
00000AD8 486E 0216 pea.l [A6 + 0x216]
00000ADC 51E7 sf -[A7]
00000ADE 3F3C 0001 move.w -[A7], 0x1
00000AE2 3F3C F060 move.w -[A7], 0xF060
00000AE6 4267 clr.w -[A7]
00000AE8 3F3C 03F8 move.w -[A7], 0x3F8
00000AEC 42A7 clr.l -[A7]
00000AEE 610C bsr +0xE /* 00000AFC */
00000AF0 A954 syscall NewControl
00000AF2 6100 0016 bsr +0x18 /* 00000B0A */
00000AF6 2D5F 03EE move.l [A6 + 0x3EE], [A7]+
00000AFA 4E75 rts
fn00000AFC:
00000AFC 376E 0726 0044 move.w [A3 + 0x44], [A6 + 0x726]
00000B02 376E 0728 004A move.w [A3 + 0x4A], [A6 + 0x728]
00000B08 4E75 rts
fn00000B0A:
00000B0A 426B 0044 clr.w [A3 + 0x44]
00000B0E 426B 004A clr.w [A3 + 0x4A]
00000B12 4E75 rts
fn00000B14:
00000B14 554F subq.w A7, 2
00000B16 3F3C 0100 move.w -[A7], 0x100
00000B1A 486E 04C8 pea.l [A6 + 0x4C8]
00000B1E A970 syscall GetNextEvent
00000B20 4A1F tst.b [A7]+
00000B22 67F0 beq -0xE /* 00000B14 */
00000B24 0C6E 0008 04C8 cmpi.w [A6 + 0x4C8], 0x8
00000B2A 66E8 bne -0x16 /* 00000B14 */
00000B2C 611C bsr +0x1E /* 00000B4A */
00000B2E B7EE 04CA cmpa.l A3, [A6 + 0x4CA]
00000B32 66E0 bne -0x1E /* 00000B14 */
00000B34 082E 0000 04D7 btst.b [A6 + 0x4D7], 0x0
00000B3A 67D8 beq -0x26 /* 00000B14 */
00000B3C 3D7C 0006 04C8 move.w [A6 + 0x4C8], 0x6
00000B42 2D4B 04CA move.l [A6 + 0x4CA], A3
00000B46 6102 bsr +0x4 /* 00000B4A */
00000B48 4E75 rts
fn00000B4A:
00000B4A 554F subq.w A7, 2
00000B4C 2F0B move.l -[A7], A3
00000B4E 486E 04C8 pea.l [A6 + 0x4C8]
00000B52 486E 0204 pea.l [A6 + 0x204]
00000B56 6100 10DA bsr +0x10DC /* 00001C32 */
00000B5A 544F addq.w A7, 2
00000B5C 4E75 rts
fn00000B5E:
00000B5E 4A2E 054E tst.b [A6 + 0x54E]
00000B62 671E beq +0x20 /* 00000B82 */
00000B64 302E 0570 move.w D0, [A6 + 0x570]
00000B68 0C40 006E cmpi.w D0, 0x6E /* 'n' */
00000B6C 6608 bne +0xA /* 00000B76 */
00000B6E 50C0 st D0
00000B70 6100 0646 bsr +0x648 /* 000011B8 */
00000B74 6030 bra +0x32 /* 00000BA6 */
label00000B76:
00000B76 0C40 0069 cmpi.w D0, 0x69 /* 'i' */
00000B7A 6606 bne +0x8 /* 00000B82 */
00000B7C 6100 0820 bsr +0x822 /* 0000139E */
00000B80 6024 bra +0x26 /* 00000BA6 */
label00000B82:
00000B82 6100 0D9E bsr +0xDA0 /* 00001922 */
00000B86 4A2E 056B tst.b [A6 + 0x56B]
00000B8A 671A beq +0x1C /* 00000BA6 */
00000B8C 4A2E 04A9 tst.b [A6 + 0x4A9]
00000B90 6F0C ble +0xE /* 00000B9E */
00000B92 3D6E 053C 03BE move.w [A6 + 0x3BE], [A6 + 0x53C]
00000B98 6100 080C bsr +0x80E /* 000013A6 */
00000B9C 6008 bra +0xA /* 00000BA6 */
label00000B9E:
00000B9E 303C 001F move.w D0, 0x1F
00000BA2 6100 2F70 bsr +0x2F72 /* 00003B14 */
label00000BA6:
00000BA6 302E 03BE move.w D0, [A6 + 0x3BE]
00000BAA 6100 2C44 bsr +0x2C46 /* 000037F0 */
00000BAE 4E75 rts
label00000BB0:
00000BB0 226E 04AC movea.l A1, [A6 + 0x4AC]
00000BB4 2F09 move.l -[A7], A1
00000BB6 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00000BBA A9E7 syscall Pack0/ListManager
00000BBC 4E75 rts
label00000BBE:
00000BBE 50EE 054D st [A6 + 0x54D]
00000BC2 4E75 rts
label00000BC4:
00000BC4 2E2E 03C2 move.l D7, [A6 + 0x3C2]
00000BC8 3C2E 03BE move.w D6, [A6 + 0x3BE]
00000BCC 4A2E 04A4 tst.b [A6 + 0x4A4]
00000BD0 6600 0090 bne +0x92 /* 00000C62 */
00000BD4 4A2E 04A9 tst.b [A6 + 0x4A9]
00000BD8 6F0C ble +0xE /* 00000BE6 */
00000BDA 3C2E 03BC move.w D6, [A6 + 0x3BC]
00000BDE 3006 move.w D0, D6
00000BE0 6100 2C64 bsr +0x2C66 /* 00003846 */
00000BE4 2E10 move.l D7, [A0]
label00000BE6:
00000BE6 082E 0002 0452 btst.b [A6 + 0x452], 0x2
00000BEC 664C bne +0x4E /* 00000C3A */
00000BEE 6100 0948 bsr +0x94A /* 00001538 */
00000BF2 2248 movea.l A1, A0
00000BF4 41EE 018A lea.l A0, [A6 + 0x18A]
00000BF8 3146 0016 move.w [A0 + 0x16], D6
00000BFC 2149 0012 move.l [A0 + 0x12], A1
00000C00 4268 001A clr.w [A0 + 0x1A]
00000C04 4268 001C clr.w [A0 + 0x1C]
00000C08 2147 0030 move.l [A0 + 0x30], D7
00000C0C 7009 moveq.l D0, 0x09
00000C0E A260 syscall FSDispatch/HFSDispatch, flags=2
00000C10 6718 beq +0x1A /* 00000C2A */
00000C12 0C40 FFD5 cmpi.w D0, 0xFFD5
00000C16 6700 0202 beq +0x204 /* 00000E1A */
00000C1A 0C40 FFDD cmpi.w D0, 0xFFDD
00000C1E 6600 FBB0 bne -0x44E /* 000007D0 */
00000C22 323C 0006 move.w D1, 0x6
00000C26 6000 1A3C bra +0x1A3E /* 00002664 */
label00000C2A:
00000C2A 0828 0004 001E btst.b [A0 + 0x1E], 0x4
00000C30 670C beq +0xE /* 00000C3E */
00000C32 323C 0009 move.w D1, 0x9 /* '\t' */
00000C36 6100 1A2C bsr +0x1A2E /* 00002664 */
label00000C3A:
00000C3A 6000 0224 bra +0x226 /* 00000E60 */
label00000C3E:
00000C3E 226E 019C movea.l A1, [A6 + 0x19C]
00000C42 383C E863 move.w D4, 0xE863
00000C46 263C 7270 6C63 move.l D3, 0x72706C63 /* 'rplc' */
00000C4C 6100 1A26 bsr +0x1A28 /* 00002674 */
00000C50 5340 subq.w D0, 1
00000C52 66E6 bne -0x18 /* 00000C3A */
00000C54 4A2E 04A6 tst.b [A6 + 0x4A6]
00000C58 6704 beq +0x6 /* 00000C5E */
00000C5A 522C 0001 addq.b [A4 + 0x1], 1
label00000C5E:
00000C5E 6000 01BA bra +0x1BC /* 00000E1A */
label00000C62:
00000C62 6100 2618 bsr +0x261A /* 0000327C */
00000C66 6100 2892 bsr +0x2894 /* 000034FA */
00000C6A 6A0C bpl +0xE /* 00000C78 */
00000C6C 4A2E 0206 tst.b [A6 + 0x206]
00000C70 6600 0096 bne +0x98 /* 00000D08 */
00000C74 6000 01EA bra +0x1EC /* 00000E60 */
label00000C78:
00000C78 0828 000F 0012 btst.b [A0 + 0x12], 0xF
00000C7E 6600 01DA bne +0x1DC /* 00000E5A */
00000C82 0828 0004 0010 btst.b [A0 + 0x10], 0x4
00000C88 6600 01D0 bne +0x1D2 /* 00000E5A */
00000C8C 2E28 000C move.l D7, [A0 + 0xC]
00000C90 3C28 000A move.w D6, [A0 + 0xA]
00000C94 3A28 0012 move.w D5, [A0 + 0x12]
00000C98 4845 swap.w D5
00000C9A 1A28 0010 move.b D5, [A0 + 0x10]
label00000C9E:
00000C9E 0805 001B btst.b D5, 0x1B
00000CA2 6738 beq +0x3A /* 00000CDC */
00000CA4 594F subq.w A7, 4
00000CA6 2F3C 5349 5A45 move.l -[A7], 0x53495A45 /* 'SIZE' */
00000CAC 3F3C FFFF move.w -[A7], 0xFFFF
00000CB0 A9A0 syscall GetResource
00000CB2 201F move.l D0, [A7]+
00000CB4 6726 beq +0x28 /* 00000CDC */
00000CB6 2040 movea.l A0, D0
00000CB8 2050 movea.l A0, [A0]
00000CBA 0828 0004 0001 btst.b [A0 + 0x1], 0x4
00000CC0 661A bne +0x1C /* 00000CDC */
00000CC2 6100 0874 bsr +0x876 /* 00001538 */
00000CC6 2248 movea.l A1, A0
00000CC8 383C E867 move.w D4, 0xE867
00000CCC 263C 7374 6174 move.l D3, 0x73746174 /* 'stat' */
00000CD2 6100 19A0 bsr +0x19A2 /* 00002674 */
00000CD6 5340 subq.w D0, 1
00000CD8 6600 0186 bne +0x188 /* 00000E60 */
label00000CDC:
00000CDC 4A2E 04A6 tst.b [A6 + 0x4A6]
00000CE0 6726 beq +0x28 /* 00000D08 */
00000CE2 0805 0000 btst.b D5, 0x0
00000CE6 6720 beq +0x22 /* 00000D08 */
00000CE8 0805 001B btst.b D5, 0x1B
00000CEC 661A bne +0x1C /* 00000D08 */
00000CEE 6100 0848 bsr +0x84A /* 00001538 */
00000CF2 2248 movea.l A1, A0
00000CF4 383C E868 move.w D4, 0xE868
00000CF8 263C 6C6F 636B move.l D3, 0x6C6F636B /* 'lock' */
00000CFE 6100 1974 bsr +0x1976 /* 00002674 */
00000D02 5340 subq.w D0, 1
00000D04 6600 015A bne +0x15C /* 00000E60 */
label00000D08:
00000D08 4A6E 0618 tst.w [A6 + 0x618]
00000D0C 6700 010C beq +0x10E /* 00000E1A */
00000D10 3D46 061E move.w [A6 + 0x61E], D6
00000D14 2D47 0620 move.l [A6 + 0x620], D7
00000D18 6100 081E bsr +0x820 /* 00001538 */
00000D1C 43EE 0624 lea.l A1, [A6 + 0x624]
00000D20 7020 moveq.l D0, 0x20
00000D22 A22E syscall BlockMove/BlockMoveData, flags=2
00000D24 2D6C 0002 0664 move.l [A6 + 0x664], [A4 + 0x2]
00000D2A 2D6E 06C2 0668 move.l [A6 + 0x668], [A6 + 0x6C2]
00000D30 2D7C 0000 0002 06CA move.l [A6 + 0x6CA], 0x2
00000D38 42AE 06C6 clr.l [A6 + 0x6C6]
00000D3C 554F subq.w A7, 2
00000D3E 2D7C 0000 003C 06CE move.l [A6 + 0x6CE], 0x3C /* '<' */
00000D46 42AE 06D2 clr.l [A6 + 0x6D2]
00000D4A 41EE 066C lea.l A0, [A6 + 0x66C]
00000D4E 2D48 0706 move.l [A6 + 0x706], A0
00000D52 486E 06C6 pea.l [A6 + 0x6C6]
00000D56 486E 06CE pea.l [A6 + 0x6CE]
00000D5A 3F3C 003A move.w -[A7], 0x3A /* ':' */
00000D5E A88F syscall OSDispatch
00000D60 4A5F tst.w [A7]+
00000D62 2D6E 06E2 06B6 move.l [A6 + 0x6B6], [A6 + 0x6E2]
00000D68 2D6E 06DE 06B2 move.l [A6 + 0x6B2], [A6 + 0x6DE]
00000D6E 594F subq.w A7, 4
00000D70 701A moveq.l D0, 0x1A
00000D72 ABFC syscall TranslationDispatch
00000D74 205F movea.l A0, [A7]+
00000D76 3006 move.w D0, D6
00000D78 4440 neg.w D0
00000D7A 3140 0008 move.w [A0 + 0x8], D0
00000D7E 2147 000A move.l [A0 + 0xA], D7
00000D82 554F subq.w A7, 2
00000D84 4850 pea.l [A0]
00000D86 4878 FFFF push.l 0xFFFF
00000D8A 3F3C 0039 move.w -[A7], 0x39 /* '9' */
00000D8E A88F syscall OSDispatch
00000D90 544F addq.w A7, 2
00000D92 2F0B move.l -[A7], A3
00000D94 A916 syscall HideWindow
00000D96 7000 moveq.l D0, 0x00
00000D98 302E 016A move.w D0, [A6 + 0x16A]
00000D9C 3200 move.w D1, D0
00000D9E E580 asl D0, 2
00000DA0 5880 addq.l D0, 4
00000DA2 A11E syscall NewPtr, flags=1
00000DA4 6600 FE18 bne -0x1E6 /* 00000BBE */
00000DA8 2D48 06BA move.l [A6 + 0x6BA], A0
00000DAC 226E 016C movea.l A1, [A6 + 0x16C]
label00000DB0:
00000DB0 5341 subq.w D1, 1
00000DB2 6B08 bmi +0xA /* 00000DBC */
00000DB4 20D9 move.l [A0]+, [A1]+
00000DB6 66F8 bne -0x6 /* 00000DB0 */
00000DB8 5988 subq.l A0, 4
00000DBA 60F4 bra -0xA /* 00000DB0 */
label00000DBC:
00000DBC 4290 clr.l [A0]
00000DBE 554F subq.w A7, 2
00000DC0 486E 061E pea.l [A6 + 0x61E]
00000DC4 486E 066C pea.l [A6 + 0x66C]
00000DC8 7010 moveq.l D0, 0x10
00000DCA C0AE 06E6 and.l D0, [A6 + 0x6E6]
00000DCE 56E7 sne -[A7]
00000DD0 2F2E 06BA move.l -[A7], [A6 + 0x6BA]
00000DD4 486E 06BE pea.l [A6 + 0x6BE]
00000DD8 486E 06C0 pea.l [A6 + 0x6C0]
00000DDC 4227 clr.b -[A7]
00000DDE 42A7 clr.l -[A7]
00000DE0 7011 moveq.l D0, 0x11
00000DE2 ABFC syscall TranslationDispatch
00000DE4 206E 06BA movea.l A0, [A6 + 0x6BA]
00000DE8 A01F syscall DisposPtr/DisposePtr
00000DEA 4A5F tst.w [A7]+
00000DEC 6600 FDD0 bne -0x22E /* 00000BBE */
00000DF0 4A2E 06C0 tst.b [A6 + 0x6C0]
00000DF4 6600 FDC8 bne -0x236 /* 00000BBE */
00000DF8 4A2E 06BE tst.b [A6 + 0x6BE]
00000DFC 671C beq +0x1E /* 00000E1A */
00000DFE 6100 0738 bsr +0x73A /* 00001538 */
00000E02 2248 movea.l A1, A0
00000E04 41EE 0624 lea.l A0, [A6 + 0x624]
00000E08 7020 moveq.l D0, 0x20
00000E0A A22E syscall BlockMove/BlockMoveData, flags=2
00000E0C 3C2E 061E move.w D6, [A6 + 0x61E]
00000E10 2E2E 0620 move.l D7, [A6 + 0x620]
00000E14 296E 0664 0002 move.l [A4 + 0x2], [A6 + 0x664]
label00000E1A:
00000E1A 4A2E 04A6 tst.b [A6 + 0x4A6]
00000E1E 670A beq +0xC /* 00000E2A */
00000E20 2947 0008 move.l [A4 + 0x8], D7
00000E24 3946 0006 move.w [A4 + 0x6], D6
00000E28 6030 bra +0x32 /* 00000E5A */
label00000E2A:
00000E2A 0C6E D2D7 03CA cmpi.w [A6 + 0x3CA], 0xD2D7
00000E30 6724 beq +0x26 /* 00000E56 */
00000E32 41EE 018A lea.l A0, [A6 + 0x18A]
00000E36 3146 0016 move.w [A0 + 0x16], D6
00000E3A 42A8 0012 clr.l [A0 + 0x12]
00000E3E 2147 0030 move.l [A0 + 0x30], D7
00000E42 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
00000E4A 7001 moveq.l D0, 0x01
00000E4C A260 syscall FSDispatch/HFSDispatch, flags=2
00000E4E 6B00 F980 bmi -0x67E /* 000007D0 */
00000E52 3C28 0016 move.w D6, [A0 + 0x16]
label00000E56:
00000E56 3946 0006 move.w [A4 + 0x6], D6
label00000E5A:
00000E5A 5214 addq.b [A4], 1
00000E5C 50EE 054D st [A6 + 0x54D]
label00000E60:
00000E60 4E75 rts
label00000E62:
00000E62 4A2E 054E tst.b [A6 + 0x54E]
00000E66 6776 beq +0x78 /* 00000EDE */
00000E68 4A2E 04A4 tst.b [A6 + 0x4A4]
00000E6C 6670 bne +0x72 /* 00000EDE */
00000E6E 303C 000C move.w D0, 0xC
00000E72 6100 F986 bsr -0x678 /* 000007FA */
00000E76 6100 1330 bsr +0x1332 /* 000021A8 */
00000E7A 6B62 bmi +0x64 /* 00000EDE */
00000E7C 700C moveq.l D0, 0x0C
00000E7E 6100 F97A bsr -0x684 /* 000007FA */
00000E82 6100 1336 bsr +0x1338 /* 000021BA */
00000E86 41EE 020C lea.l A0, [A6 + 0x20C]
00000E8A 3028 0004 move.w D0, [A0 + 0x4]
00000E8E D050 add.w D0, [A0]
00000E90 E248 lsr D0.w, 1
00000E92 4840 swap.w D0
00000E94 3028 0006 move.w D0, [A0 + 0x6]
00000E98 D068 0002 add.w D0, [A0 + 0x2]
00000E9C E248 lsr D0.w, 1
00000E9E 2D40 0316 move.l [A6 + 0x316], D0
00000EA2 486E 0316 pea.l [A6 + 0x316]
00000EA6 A870 syscall LocalToGlobal
00000EA8 303C E862 move.w D0, 0xE862
00000EAC 263C 6E66 6472 move.l D3, 0x6E666472 /* 'nfdr' */
00000EB2 6100 17D0 bsr +0x17D2 /* 00002684 */
00000EB6 0C40 0001 cmpi.w D0, 0x1
00000EBA 6622 bne +0x24 /* 00000EDE */
00000EBC 302E 054A move.w D0, [A6 + 0x54A]
00000EC0 6606 bne +0x8 /* 00000EC8 */
00000EC2 6100 0A2A bsr +0xA2C /* 000018EE */
00000EC6 6016 bra +0x18 /* 00000EDE */
label00000EC8:
00000EC8 720A moveq.l D1, 0x0A
00000ECA 0C40 FFD0 cmpi.w D0, 0xFFD0
00000ECE 670A beq +0xC /* 00000EDA */
00000ED0 720E moveq.l D1, 0x0E
00000ED2 0C40 FFDB cmpi.w D0, 0xFFDB
00000ED6 6702 beq +0x4 /* 00000EDA */
00000ED8 7207 moveq.l D1, 0x07
label00000EDA:
00000EDA 6100 1788 bsr +0x178A /* 00002664 */
label00000EDE:
00000EDE 4E75 rts
00000EE0 302E 0204 move.w D0, [A6 + 0x204]
00000EE4 0C40 FFFF cmpi.w D0, 0xFFFF
00000EE8 6664 bne +0x66 /* 00000F4E */
00000EEA 7001 moveq.l D0, 0x01
00000EEC 7202 moveq.l D1, 0x02
00000EEE 50C2 st D2
00000EF0 6100 18B8 bsr +0x18BA /* 000027AA */
00000EF4 302B 0014 move.w D0, [A3 + 0x14]
00000EF8 D06B 0010 add.w D0, [A3 + 0x10]
00000EFC E248 lsr D0.w, 1
00000EFE 4840 swap.w D0
00000F00 302B 0016 move.w D0, [A3 + 0x16]
00000F04 D06B 0012 add.w D0, [A3 + 0x12]
00000F08 E248 lsr D0.w, 1
00000F0A 91AE 0316 sub.l [A6 + 0x316], D0
00000F0E 2F0B move.l -[A7], A3
00000F10 2F2E 0316 move.l -[A7], [A6 + 0x316]
00000F14 4267 clr.w -[A7]
00000F16 A91B syscall MoveWindow
00000F18 6100 287E bsr +0x2880 /* 00003798 */
00000F1C 6612 bne +0x14 /* 00000F30 */
00000F1E 2F0B move.l -[A7], A3
00000F20 1F3C 0002 move.b -[A7], 0x2
00000F24 1F3C 0001 move.b -[A7], 0x1
00000F28 1F3C 0001 move.b -[A7], 0x1
00000F2C 7009 moveq.l D0, 0x09
00000F2E A829 syscall LayerDispatch
label00000F30:
00000F30 7001 moveq.l D0, 0x01
00000F32 6100 1286 bsr +0x1288 /* 000021BA */
00000F36 2D6E 0208 04C4 move.l [A6 + 0x4C4], [A6 + 0x208]
00000F3C 2F0B move.l -[A7], A3
00000F3E 3F3C 0003 move.w -[A7], 0x3
00000F42 4267 clr.w -[A7]
00000F44 3F3C 012C move.w -[A7], 0x12C
00000F48 A97E syscall SelectDialogItemText/SelIText
00000F4A 6000 00D4 bra +0xD6 /* 00001020 */
label00000F4E:
00000F4E 0C40 0064 cmpi.w D0, 0x64 /* 'd' */
00000F52 661E bne +0x20 /* 00000F72 */
00000F54 7003 moveq.l D0, 0x03
00000F56 6100 1262 bsr +0x1264 /* 000021BA */
00000F5A 206E 0208 movea.l A0, [A6 + 0x208]
00000F5E A025 syscall GetHandleSize
00000F60 7200 moveq.l D1, 0x00
00000F62 4A40 tst.w D0
00000F64 5FC1 sle D1
00000F66 2F2E 04C4 move.l -[A7], [A6 + 0x4C4]
00000F6A 3F01 move.w -[A7], D1
00000F6C A95D syscall HiliteControl
00000F6E 6000 00B0 bra +0xB2 /* 00001020 */
label00000F72:
00000F72 0C40 0002 cmpi.w D0, 0x2
00000F76 6700 00A4 beq +0xA6 /* 0000101C */
00000F7A 0C40 0001 cmpi.w D0, 0x1
00000F7E 6600 00A0 bne +0xA2 /* 00001020 */
00000F82 7003 moveq.l D0, 0x03
00000F84 6100 1234 bsr +0x1236 /* 000021BA */
00000F88 2F2E 0208 move.l -[A7], [A6 + 0x208]
00000F8C 486E 0216 pea.l [A6 + 0x216]
00000F90 A990 syscall GetDialogItemText/GetIText
00000F92 6100 04DA bsr +0x4DC /* 0000146E */
00000F96 3D40 0208 move.w [A6 + 0x208], D0
00000F9A 6100 0086 bsr +0x88 /* 00001022 */
00000F9E 3D40 054A move.w [A6 + 0x54A], D0
00000FA2 6678 bne +0x7A /* 0000101C */
00000FA4 41EE 018A lea.l A0, [A6 + 0x18A]
00000FA8 43EE 0216 lea.l A1, [A6 + 0x216]
00000FAC 1011 move.b D0, [A1]
00000FAE 0C00 001F cmpi.b D0, 0x1F
00000FB2 6304 bls +0x6 /* 00000FB8 */
00000FB4 701F moveq.l D0, 0x1F
00000FB6 1280 move.b [A1], D0
label00000FB8:
00000FB8 2149 0012 move.l [A0 + 0x12], A1
00000FBC 316E 03BE 0016 move.w [A0 + 0x16], [A6 + 0x3BE]
00000FC2 216E 03C2 0030 move.l [A0 + 0x30], [A6 + 0x3C2]
00000FC8 4A2E 04A9 tst.b [A6 + 0x4A9]
00000FCC 6F14 ble +0x16 /* 00000FE2 */
00000FCE 302E 03BC move.w D0, [A6 + 0x3BC]
00000FD2 3D40 01A0 move.w [A6 + 0x1A0], D0
00000FD6 6100 286E bsr +0x2870 /* 00003846 */
00000FDA 2D50 01BA move.l [A6 + 0x1BA], [A0]
00000FDE 41EE 018A lea.l A0, [A6 + 0x18A]
label00000FE2:
00000FE2 7006 moveq.l D0, 0x06
00000FE4 A260 syscall FSDispatch/HFSDispatch, flags=2
00000FE6 3D40 054A move.w [A6 + 0x54A], D0
00000FEA 6630 bne +0x32 /* 0000101C */
00000FEC 70FF moveq.l D0, 0xFFFFFFFF
00000FEE 3140 001C move.w [A0 + 0x1C], D0
00000FF2 7009 moveq.l D0, 0x09
00000FF4 A260 syscall FSDispatch/HFSDispatch, flags=2
00000FF6 6B12 bmi +0x14 /* 0000100A */
00000FF8 302E 0208 move.w D0, [A6 + 0x208]
00000FFC 6B0C bmi +0xE /* 0000100A */
00000FFE 08C0 0007 bset.b D0, 0x7
00001002 1140 005C move.b [A0 + 0x5C], D0
00001006 700A moveq.l D0, 0x0A
00001008 A260 syscall FSDispatch/HFSDispatch, flags=2
label0000100A:
0000100A 2D68 0030 03C2 move.l [A6 + 0x3C2], [A0 + 0x30]
00001010 3028 0016 move.w D0, [A0 + 0x16]
00001014 6100 084E bsr +0x850 /* 00001864 */
00001018 3D41 03C0 move.w [A6 + 0x3C0], D1
label0000101C:
0000101C 50EE 056A st [A6 + 0x56A]
label00001020:
00001020 4E75 rts
fn00001022:
00001022 4E54 FFDE link A4, -0x0022
00001026 203C 7472 7368 move.l D0, 0x74727368 /* 'trsh' */
0000102C 6122 bsr +0x24 /* 00001050 */
0000102E 661C bne +0x1E /* 0000104C */
00001030 203C 6465 736B move.l D0, 0x6465736B /* 'desk' */
00001036 6118 bsr +0x1A /* 00001050 */
00001038 6612 bne +0x14 /* 0000104C */
0000103A 203C 656D 7074 move.l D0, 0x656D7074 /* 'empt' */
00001040 610E bsr +0x10 /* 00001050 */
00001042 6608 bne +0xA /* 0000104C */
00001044 203C 7465 6D70 move.l D0, 0x74656D70 /* 'temp' */
0000104A 6104 bsr +0x6 /* 00001050 */
label0000104C:
0000104C 4E5C unlink A4
0000104E 4E75 rts
fn00001050:
00001050 554F subq.w A7, 2
00001052 3F2E 03BC move.w -[A7], [A6 + 0x3BC]
00001056 2F00 move.l -[A7], D0
00001058 486C FFDE pea.l [A4 - 0x22]
0000105C 486C FFE0 pea.l [A4 - 0x20]
00001060 700E moveq.l D0, 0x0E
00001062 A823 syscall AliasDispatch
00001064 4A5F tst.w [A7]+
00001066 661C bne +0x1E /* 00001084 */
00001068 41EE 0216 lea.l A0, [A6 + 0x216]
0000106C 43EC FFE0 lea.l A1, [A4 - 0x20]
00001070 7000 moveq.l D0, 0x00
00001072 1018 move.b D0, [A0]+
00001074 4840 swap.w D0
00001076 1019 move.b D0, [A1]+
00001078 A23C syscall CmpString, flags=2
0000107A 4A00 tst.b D0
0000107C 6606 bne +0x8 /* 00001084 */
0000107E 303C FFDB move.w D0, 0xFFDB
00001082 6002 bra +0x4 /* 00001086 */
label00001084:
00001084 7000 moveq.l D0, 0x00
label00001086:
00001086 4E75 rts
label00001088:
00001088 4A2E 04A9 tst.b [A6 + 0x4A9]
0000108C 6E78 bgt +0x7A /* 00001106 */
0000108E 41EE 018A lea.l A0, [A6 + 0x18A]
00001092 317C FFFF 001C move.w [A0 + 0x1C], 0xFFFF
00001098 216E 03C2 0030 move.l [A0 + 0x30], [A6 + 0x3C2]
0000109E 42A8 0012 clr.l [A0 + 0x12]
000010A2 7009 moveq.l D0, 0x09
000010A4 A260 syscall FSDispatch/HFSDispatch, flags=2
000010A6 6B5E bmi +0x60 /* 00001106 */
000010A8 2F28 0030 move.l -[A7], [A0 + 0x30]
000010AC 3F28 0016 move.w -[A7], [A0 + 0x16]
000010B0 2228 0064 move.l D1, [A0 + 0x64]
000010B4 2D41 03C2 move.l [A6 + 0x3C2], D1
000010B8 7001 moveq.l D0, 0x01
000010BA B280 cmp.l D1, D0
000010BC 6604 bne +0x6 /* 000010C2 */
000010BE 6100 0B28 bsr +0xB2A /* 00001BE8 */
label000010C2:
000010C2 50EE 056D st [A6 + 0x56D]
000010C6 6100 0826 bsr +0x828 /* 000018EE */
000010CA 381F move.w D4, [A7]+
000010CC 241F move.l D2, [A7]+
000010CE 76FF moveq.l D3, 0xFFFFFFFF
label000010D0:
000010D0 5283 addq.l D3, 1
000010D2 2003 move.l D0, D3
000010D4 4840 swap.w D0
000010D6 6100 2414 bsr +0x2416 /* 000034EC */
000010DA 6A0A bpl +0xC /* 000010E6 */
000010DC 51EE 056D sf [A6 + 0x56D]
000010E0 6100 1FF0 bsr +0x1FF2 /* 000030D2 */
000010E4 6020 bra +0x22 /* 00001106 */
label000010E6:
000010E6 7002 moveq.l D0, 0x02
000010E8 B480 cmp.l D2, D0
000010EA 660A bne +0xC /* 000010F6 */
000010EC 7001 moveq.l D0, 0x01
000010EE B0A8 000C cmp.l D0, [A0 + 0xC]
000010F2 6706 beq +0x8 /* 000010FA */
000010F4 60DA bra -0x24 /* 000010D0 */
label000010F6:
000010F6 B490 cmp.l D2, [A0]
000010F8 66D6 bne -0x28 /* 000010D0 */
label000010FA:
000010FA B868 000A cmp.w D4, [A0 + 0xA]
000010FE 66D0 bne -0x2E /* 000010D0 */
00001100 50C2 st D2
00001102 6100 1EFC bsr +0x1EFE /* 00003000 */
label00001106:
00001106 4E75 rts
label00001108:
00001108 6100 05D6 bsr +0x5D8 /* 000016E0 */
0000110C 6600 F6C2 bne -0x93C /* 000007D0 */
label00001110:
00001110 4A2E 04A9 tst.b [A6 + 0x4A9]
00001114 6F04 ble +0x6 /* 0000111A */
00001116 6000 0286 bra +0x288 /* 0000139E */
label0000111A:
0000111A 6100 0662 bsr +0x664 /* 0000177E */
0000111E 6102 bsr +0x4 /* 00001122 */
00001120 4E75 rts
fn00001122:
00001122 302E 03C0 move.w D0, [A6 + 0x3C0]
00001126 6100 05A4 bsr +0x5A6 /* 000016CC */
0000112A 3028 0016 move.w D0, [A0 + 0x16]
0000112E 3200 move.w D1, D0
00001130 6100 2714 bsr +0x2716 /* 00003846 */
00001134 2028 0004 move.l D0, [A0 + 0x4]
00001138 6704 beq +0x6 /* 0000113E */
0000113A 2D40 03C2 move.l [A6 + 0x3C2], D0
label0000113E:
0000113E 3001 move.w D0, D1
00001140 6100 26AE bsr +0x26B0 /* 000037F0 */
00001144 6100 03C0 bsr +0x3C2 /* 00001506 */
00001148 4E75 rts
fn0000114A:
0000114A 4A2E 04A9 tst.b [A6 + 0x4A9]
0000114E 6E0E bgt +0x10 /* 0000115E */
00001150 302E 03BE move.w D0, [A6 + 0x3BE]
00001154 6100 26F0 bsr +0x26F2 /* 00003846 */
00001158 216E 03C2 0004 move.l [A0 + 0x4], [A6 + 0x3C2]
label0000115E:
0000115E 4E75 rts
label00001160:
00001160 6100 071A bsr +0x71C /* 0000187C */
00001164 0C43 0001 cmpi.w D3, 0x1
00001168 6708 beq +0xA /* 00001172 */
0000116A 61DE bsr -0x20 /* 0000114A */
0000116C 6100 0610 bsr +0x612 /* 0000177E */
00001170 61B0 bsr -0x4E /* 00001122 */
label00001172:
00001172 4E75 rts
label00001174:
00001174 6100 0706 bsr +0x708 /* 0000187C */
00001178 0C43 0001 cmpi.w D3, 0x1
0000117C 6708 beq +0xA /* 00001186 */
0000117E 61CA bsr -0x34 /* 0000114A */
00001180 6100 05F8 bsr +0x5FA /* 0000177A */
00001184 619C bsr -0x62 /* 00001122 */
label00001186:
00001186 4E75 rts
label00001188:
00001188 6100 2928 bsr +0x292A /* 00003AB2 */
0000118C 302E 03BE move.w D0, [A6 + 0x3BE]
00001190 4440 neg.w D0
00001192 B078 0214 cmp.w D0, [0x00000214 /* SFSaveDisk */]
00001196 6610 bne +0x12 /* 000011A8 */
00001198 202E 03C2 move.l D0, [A6 + 0x3C2]
0000119C B0B8 0398 cmp.l D0, [0x00000398 /* CurDirStore */]
000011A0 6606 bne +0x8 /* 000011A8 */
000011A2 6100 077E bsr +0x780 /* 00001922 */
000011A6 4E75 rts
label000011A8:
000011A8 3D78 0214 0322 move.w [A6 + 0x322], [0x00000214 /* SFSaveDisk */]
000011AE 6100 057E bsr +0x580 /* 0000172E */
000011B2 6100 0352 bsr +0x354 /* 00001506 */
000011B6 4E75 rts
fn000011B8:
000011B8 4A2E 04A6 tst.b [A6 + 0x4A6]
000011BC 6738 beq +0x3A /* 000011F6 */
000011BE 3200 move.w D1, D0
000011C0 302C 0006 move.w D0, [A4 + 0x6]
000011C4 2E2C 0008 move.l D7, [A4 + 0x8]
000011C8 4A41 tst.w D1
000011CA 660C bne +0xE /* 000011D8 */
000011CC B06E 03BE cmp.w D0, [A6 + 0x3BE]
000011D0 6606 bne +0x8 /* 000011D8 */
000011D2 BEAE 03C2 cmp.l D7, [A6 + 0x3C2]
000011D6 6708 beq +0xA /* 000011E0 */
label000011D8:
000011D8 6100 054A bsr +0x54C /* 00001724 */
000011DC 6100 0328 bsr +0x32A /* 00001506 */
label000011E0:
000011E0 41EC 000C lea.l A0, [A4 + 0xC]
000011E4 1010 move.b D0, [A0]
000011E6 670E beq +0x10 /* 000011F6 */
000011E8 0C00 001F cmpi.b D0, 0x1F
000011EC 6E08 bgt +0xA /* 000011F6 */
000011EE 302C 004C move.w D0, [A4 + 0x4C]
000011F2 6100 1D78 bsr +0x1D7A /* 00002F6C */
label000011F6:
000011F6 4E75 rts
label000011F8:
000011F8 554F subq.w A7, 2
000011FA 2F2E 03EE move.l -[A7], [A6 + 0x3EE]
000011FE 2F2E 04DE move.l -[A7], [A6 + 0x4DE]
00001202 70FF moveq.l D0, 0xFFFFFFFF
00001204 2F00 move.l -[A7], D0
00001206 6100 F8F4 bsr -0x70A /* 00000AFC */
0000120A A968 syscall TrackControl
0000120C 6100 F8FC bsr -0x702 /* 00000B0A */
00001210 4A5F tst.w [A7]+
00001212 6704 beq +0x6 /* 00001218 */
00001214 6100 285E bsr +0x2860 /* 00003A74 */
label00001218:
00001218 4E75 rts
label0000121A:
0000121A 486E 045C pea.l [A6 + 0x45C]
0000121E 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00001222 A9ED syscall Pack6
00001224 6100 22D4 bsr +0x22D6 /* 000034FA */
00001228 6B4C bmi +0x4E /* 00001276 */
0000122A 0828 0004 0010 btst.b [A0 + 0x10], 0x4
00001230 6744 beq +0x46 /* 00001276 */
00001232 1028 0011 move.b D0, [A0 + 0x11]
00001236 4A2E 04A4 tst.b [A6 + 0x4A4]
0000123A 6616 bne +0x18 /* 00001252 */
0000123C 0800 0000 btst.b D0, 0x0
00001240 671A beq +0x1C /* 0000125C */
00001242 0200 0006 andi.b D0, 0x6
00001246 6714 beq +0x16 /* 0000125C */
label00001248:
00001248 323C 0005 move.w D1, 0x5
0000124C 6100 1416 bsr +0x1418 /* 00002664 */
00001250 6024 bra +0x26 /* 00001276 */
label00001252:
00001252 0200 0003 andi.b D0, 0x3
00001256 0C00 0003 cmpi.b D0, 0x3
0000125A 67EC beq -0x12 /* 00001248 */
label0000125C:
0000125C 2210 move.l D1, [A0]
0000125E 7001 moveq.l D0, 0x01
00001260 B0A8 000C cmp.l D0, [A0 + 0xC]
00001264 6602 bne +0x4 /* 00001268 */
00001266 7202 moveq.l D1, 0x02
label00001268:
00001268 2D41 03C2 move.l [A6 + 0x3C2], D1
0000126C 3D68 0008 03C0 move.w [A6 + 0x3C0], [A0 + 0x8]
00001272 6100 0698 bsr +0x69A /* 0000190C */
label00001276:
00001276 4E75 rts
fn00001278:
00001278 6100 2280 bsr +0x2282 /* 000034FA */
0000127C 3D68 000A 040A move.w [A6 + 0x40A], [A0 + 0xA]
00001282 2D68 000C 040C move.l [A6 + 0x40C], [A0 + 0xC]
00001288 41E8 0022 lea.l A0, [A0 + 0x22]
0000128C 43EE 0410 lea.l A1, [A6 + 0x410]
00001290 7020 moveq.l D0, 0x20
00001292 A22E syscall BlockMove/BlockMoveData, flags=2
00001294 554F subq.w A7, 2
00001296 486E 040A pea.l [A6 + 0x40A]
0000129A 50E7 st -[A7]
0000129C 486E 0550 pea.l [A6 + 0x550]
000012A0 486E 0550 pea.l [A6 + 0x550]
000012A4 700C moveq.l D0, 0x0C
000012A6 A823 syscall AliasDispatch
000012A8 301F move.w D0, [A7]+
000012AA 323C 0008 move.w D1, 0x8
000012AE 4A40 tst.w D0
000012B0 661C bne +0x1E /* 000012CE */
000012B2 48E7 3000 movem.l -[A7], D2,D3
000012B6 342E 040A move.w D2, [A6 + 0x40A]
000012BA 262E 040C move.l D3, [A6 + 0x40C]
000012BE 6100 08CA bsr +0x8CC /* 00001B8A */
000012C2 4CDF 000C movem.l D2,D3, [A7]+
000012C6 6606 bne +0x8 /* 000012CE */
000012C8 70FF moveq.l D0, 0xFFFFFFFF
000012CA 323C 000C move.w D1, 0xC
label000012CE:
000012CE 4E75 rts
label000012D0:
000012D0 486E 045C pea.l [A6 + 0x45C]
000012D4 3F3C 0028 move.w -[A7], 0x28 /* '(' */
000012D8 A9ED syscall Pack6
000012DA 619C bsr -0x62 /* 00001278 */
000012DC 0C40 FF80 cmpi.w D0, 0xFF80
000012E0 6700 00B6 beq +0xB8 /* 00001398 */
000012E4 0C40 FF40 cmpi.w D0, 0xFF40
000012E8 6700 F8DA beq -0x724 /* 00000BC4 */
000012EC 4A40 tst.w D0
000012EE 6600 1374 bne +0x1376 /* 00002664 */
000012F2 41EE 018A lea.l A0, [A6 + 0x18A]
000012F6 4268 001C clr.w [A0 + 0x1C]
000012FA 216E 040C 0030 move.l [A0 + 0x30], [A6 + 0x40C]
00001300 316E 040A 0016 move.w [A0 + 0x16], [A6 + 0x40A]
00001306 43EE 0410 lea.l A1, [A6 + 0x410]
0000130A 2149 0012 move.l [A0 + 0x12], A1
0000130E 323C 0008 move.w D1, 0x8
00001312 7009 moveq.l D0, 0x09
00001314 A260 syscall FSDispatch/HFSDispatch, flags=2
00001316 6600 134C bne +0x134E /* 00002664 */
0000131A 0828 0004 001E btst.b [A0 + 0x1E], 0x4
00001320 665A bne +0x5C /* 0000137C */
00001322 3C2E 040A move.w D6, [A6 + 0x40A]
00001326 2E2E 040C move.l D7, [A6 + 0x40C]
0000132A 6100 020C bsr +0x20E /* 00001538 */
0000132E 2248 movea.l A1, A0
00001330 41EE 0410 lea.l A0, [A6 + 0x410]
00001334 7020 moveq.l D0, 0x20
00001336 A22E syscall BlockMove/BlockMoveData, flags=2
00001338 41EE 018A lea.l A0, [A6 + 0x18A]
0000133C 2028 0020 move.l D0, [A0 + 0x20]
00001340 0C80 6164 7270 cmpi.l D0, 0x61647270 /* 'adrp' */
00001346 6606 bne +0x8 /* 0000134E */
00001348 203C 4150 504C move.l D0, 0x4150504C /* 'APPL' */
label0000134E:
0000134E 2940 0002 move.l [A4 + 0x2], D0
00001352 4A2E 04A6 tst.b [A6 + 0x4A6]
00001356 6716 beq +0x18 /* 0000136E */
00001358 3968 0028 004E move.w [A4 + 0x4E], [A0 + 0x28]
0000135E 6100 1848 bsr +0x184A /* 00002BA8 */
00001362 3940 004C move.w [A4 + 0x4C], D0
00001366 422C 0050 clr.b [A4 + 0x50]
0000136A 422C 0051 clr.b [A4 + 0x51]
label0000136E:
0000136E 3A28 0028 move.w D5, [A0 + 0x28]
00001372 4845 swap.w D5
00001374 1A28 001E move.b D5, [A0 + 0x1E]
00001378 6000 F924 bra -0x6DA /* 00000C9E */
label0000137C:
0000137C 41EE 018A lea.l A0, [A6 + 0x18A]
00001380 2E28 0030 move.l D7, [A0 + 0x30]
00001384 3028 0016 move.w D0, [A0 + 0x16]
00001388 6100 2466 bsr +0x2468 /* 000037F0 */
0000138C 302E 01A0 move.w D0, [A6 + 0x1A0]
00001390 6100 0392 bsr +0x394 /* 00001724 */
00001394 6100 0576 bsr +0x578 /* 0000190C */
label00001398:
00001398 4E75 rts
label0000139A:
0000139A 6100 FDAE bsr -0x250 /* 0000114A */
fn0000139E:
0000139E 6100 0848 bsr +0x84A /* 00001BE8 */
000013A2 6100 054A bsr +0x54C /* 000018EE */
fn000013A6:
000013A6 302E 053C move.w D0, [A6 + 0x53C]
000013AA 6100 2444 bsr +0x2446 /* 000037F0 */
000013AE 76FF moveq.l D3, 0xFFFFFFFF
label000013B0:
000013B0 5283 addq.l D3, 1
000013B2 2003 move.l D0, D3
000013B4 4840 swap.w D0
000013B6 6100 2134 bsr +0x2136 /* 000034EC */
000013BA 6B20 bmi +0x22 /* 000013DC */
000013BC 302E 053C move.w D0, [A6 + 0x53C]
000013C0 B068 000A cmp.w D0, [A0 + 0xA]
000013C4 66EA bne -0x14 /* 000013B0 */
000013C6 7000 moveq.l D0, 0x00
000013C8 3003 move.w D0, D3
000013CA 4840 swap.w D0
000013CC 2D40 0458 move.l [A6 + 0x458], D0
000013D0 4A2E 056B tst.b [A6 + 0x56B]
000013D4 6706 beq +0x8 /* 000013DC */
000013D6 50C2 st D2
000013D8 6100 1C26 bsr +0x1C28 /* 00003000 */
label000013DC:
000013DC 4E75 rts
label000013DE:
000013DE 6100 FE98 bsr -0x166 /* 00001278 */
000013E2 0C40 FF80 cmpi.w D0, 0xFF80
000013E6 6742 beq +0x44 /* 0000142A */
000013E8 4A40 tst.w D0
000013EA 6600 1278 bne +0x127A /* 00002664 */
000013EE 50EE 056D st [A6 + 0x56D]
000013F2 2E2E 040C move.l D7, [A6 + 0x40C]
000013F6 7001 moveq.l D0, 0x01
000013F8 BE80 cmp.l D7, D0
000013FA 660A bne +0xC /* 00001406 */
000013FC 6100 07EA bsr +0x7EC /* 00001BE8 */
00001400 6100 04EC bsr +0x4EE /* 000018EE */
00001404 6010 bra +0x12 /* 00001416 */
label00001406:
00001406 302E 040A move.w D0, [A6 + 0x40A]
0000140A 6100 0318 bsr +0x31A /* 00001724 */
0000140E 6100 04DE bsr +0x4E0 /* 000018EE */
00001412 6600 F3BC bne -0xC42 /* 000007D0 */
label00001416:
00001416 41EE 0410 lea.l A0, [A6 + 0x410]
0000141A 302E 0724 move.w D0, [A6 + 0x724]
0000141E 6100 1B4C bsr +0x1B4E /* 00002F6C */
00001422 302E 040A move.w D0, [A6 + 0x40A]
00001426 6100 23C8 bsr +0x23CA /* 000037F0 */
label0000142A:
0000142A 4E75 rts
label0000142C:
0000142C 6100 00B4 bsr +0xB6 /* 000014E2 */
00001430 4E75 rts
label00001432:
00001432 3C00 move.w D6, D0
00001434 6100 26DE bsr +0x26E0 /* 00003B14 */
00001438 6632 bne +0x34 /* 0000146C */
0000143A 41EE 04C8 lea.l A0, [A6 + 0x4C8]
0000143E 30BC 0003 move.w [A0], 0x3
00001442 216E 04DA 0006 move.l [A0 + 0x6], [A6 + 0x4DA]
00001448 7000 moveq.l D0, 0x00
0000144A 3140 000E move.w [A0 + 0xE], D0
0000144E 1006 move.b D0, D6
00001450 2140 0002 move.l [A0 + 0x2], D0
00001454 554F subq.w A7, 2
00001456 2F08 move.l -[A7], A0
00001458 486E 045C pea.l [A6 + 0x45C]
0000145C 7000 moveq.l D0, 0x00
0000145E 3F3C 002A move.w -[A7], 0x2A /* '*' */
00001462 A9ED syscall Pack6
00001464 4A1F tst.b [A7]+
00001466 6704 beq +0x6 /* 0000146C */
00001468 6100 1B1A bsr +0x1B1C /* 00002F84 */
label0000146C:
0000146C 4E75 rts
fn0000146E:
0000146E 594F subq.w A7, 4
00001470 3F3C 001E move.w -[A7], 0x1E
00001474 2F3C 8402 0008 move.l -[A7], 0x84020008
0000147A A8B5 syscall ScriptUtil
0000147C 201F move.l D0, [A7]+
0000147E 0800 001D btst.b D0, 0x1D
00001482 6604 bne +0x6 /* 00001488 */
00001484 70FF moveq.l D0, 0xFFFFFFFF
00001486 4E75 rts
fn00001488:
00001488 7016 moveq.l D0, 0x16
fn0000148A:
0000148A 594F subq.w A7, 4
0000148C 3F00 move.w -[A7], D0
0000148E 2F3C 8402 0008 move.l -[A7], 0x84020008
00001494 A8B5 syscall ScriptUtil
00001496 201F move.l D0, [A7]+
00001498 4E75 rts
fn0000149A:
0000149A 3038 0214 move.w D0, [0x00000214 /* SFSaveDisk */]
0000149E 6A02 bpl +0x4 /* 000014A2 */
000014A0 6102 bsr +0x4 /* 000014A4 */
label000014A2:
000014A2 4E75 rts
fn000014A4:
000014A4 4440 neg.w D0
000014A6 2278 0358 movea.l A1, [0x00000358]
label000014AA:
000014AA B069 0048 cmp.w D0, [A1 + 0x48]
000014AE 6708 beq +0xA /* 000014B8 */
000014B0 2251 movea.l A1, [A1]
000014B2 2209 move.l D1, A1
000014B4 66F4 bne -0xA /* 000014AA */
000014B6 6012 bra +0x14 /* 000014CA */
label000014B8:
000014B8 3D69 004E 03BE move.w [A6 + 0x3BE], [A1 + 0x4E]
000014BE 6100 0232 bsr +0x234 /* 000016F2 */
000014C2 4A2E 04A9 tst.b [A6 + 0x4A9]
000014C6 6E00 FED2 bgt -0x12C /* 0000139A */
label000014CA:
000014CA 3038 0214 move.w D0, [0x00000214 /* SFSaveDisk */]
000014CE 4440 neg.w D0
000014D0 4278 0214 clr.w [0x00000214 /* SFSaveDisk */]
000014D4 B06E 03C0 cmp.w D0, [A6 + 0x3C0]
000014D8 6700 FC36 beq -0x3C8 /* 00001110 */
000014DC 6100 0476 bsr +0x478 /* 00001954 */
000014E0 4E75 rts
fn000014E2:
000014E2 B06E 04EA cmp.w D0, [A6 + 0x4EA]
000014E6 671C beq +0x1E /* 00001504 */
000014E8 2F0B move.l -[A7], A3
000014EA 3F2E 04EA move.w -[A7], [A6 + 0x4EA]
000014EE 4267 clr.w -[A7]
000014F0 3D40 04EA move.w [A6 + 0x4EA], D0
000014F4 6100 0D4E bsr +0xD50 /* 00002244 */
000014F8 2F0B move.l -[A7], A3
000014FA 3F2E 04EA move.w -[A7], [A6 + 0x4EA]
000014FE 50E7 st -[A7]
00001500 6100 0D42 bsr +0xD44 /* 00002244 */
label00001504:
00001504 4E75 rts
fn00001506:
00001506 6100 25AA bsr +0x25AC /* 00003AB2 */
0000150A 6106 bsr +0x8 /* 00001512 */
0000150C 6600 F2C2 bne -0xD3C /* 000007D0 */
00001510 4E75 rts
fn00001512:
00001512 4A2E 04A4 tst.b [A6 + 0x4A4]
00001516 661A bne +0x1C /* 00001532 */
00001518 6100 043A bsr +0x43C /* 00001954 */
0000151C 6618 bne +0x1A /* 00001536 */
0000151E 4A2E 0451 tst.b [A6 + 0x451]
00001522 670E beq +0x10 /* 00001532 */
00001524 323C 0004 move.w D1, 0x4
00001528 6100 113A bsr +0x113C /* 00002664 */
0000152C 3D7C 0064 0204 move.w [A6 + 0x204], 0x64 /* 'd' */
label00001532:
00001532 6100 0394 bsr +0x396 /* 000018C8 */
label00001536:
00001536 4E75 rts
fn00001538:
00001538 41EC 000A lea.l A0, [A4 + 0xA]
0000153C 4A2E 04A6 tst.b [A6 + 0x4A6]
00001540 6704 beq +0x6 /* 00001546 */
00001542 41EC 000C lea.l A0, [A4 + 0xC]
label00001546:
00001546 4E75 rts
fn00001548:
00001548 51EE 056D sf [A6 + 0x56D]
0000154C 487A 06E4 pea.l [PC + 0x6E4 /* 00001C32, value 0x4E54FFF4 */]
00001550 486E 0204 pea.l [A6 + 0x204]
00001554 A991 syscall ModalDialog
00001556 0CAB 7374 6466 0098 cmpi.l [A3 + 0x98], 0x73746466 /* 'stdf' */
0000155E 6618 bne +0x1A /* 00001578 */
00001560 7006 moveq.l D0, 0x06
00001562 6100 F296 bsr -0xD68 /* 000007FA */
00001566 B06E 0204 cmp.w D0, [A6 + 0x204]
0000156A 6610 bne +0x12 /* 0000157C */
0000156C 4A2E 054F tst.b [A6 + 0x54F]
00001570 6606 bne +0x8 /* 00001578 */
00001572 3D7C 0069 0204 move.w [A6 + 0x204], 0x69 /* 'i' */
label00001578:
00001578 6000 00C4 bra +0xC6 /* 0000163E */
label0000157C:
0000157C 7007 moveq.l D0, 0x07
0000157E 6100 F27A bsr -0xD84 /* 000007FA */
00001582 B06E 0204 cmp.w D0, [A6 + 0x204]
00001586 6652 bne +0x54 /* 000015DA */
00001588 72FF moveq.l D1, 0xFFFFFFFF
0000158A 2D41 0458 move.l [A6 + 0x458], D1
0000158E 6100 FF52 bsr -0xAC /* 000014E2 */
00001592 554F subq.w A7, 2
00001594 42A7 clr.l -[A7]
00001596 2F0F move.l -[A7], A7
00001598 A972 syscall GetMouse
0000159A 3F2E 04D8 move.w -[A7], [A6 + 0x4D8]
0000159E 2F2E 04AC move.l -[A7], [A6 + 0x4AC]
000015A2 3F3C 0018 move.w -[A7], 0x18
000015A6 A9E7 syscall Pack0/ListManager
000015A8 6100 1CD2 bsr +0x1CD4 /* 0000327C */
000015AC 141F move.b D2, [A7]+
000015AE 6100 1F4A bsr +0x1F4C /* 000034FA */
000015B2 6B62 bmi +0x64 /* 00001616 */
000015B4 4A02 tst.b D2
000015B6 6610 bne +0x12 /* 000015C8 */
000015B8 4A2E 04A9 tst.b [A6 + 0x4A9]
000015BC 6F08 ble +0xA /* 000015C6 */
000015BE 3028 000A move.w D0, [A0 + 0xA]
000015C2 6100 222C bsr +0x222E /* 000037F0 */
label000015C6:
000015C6 60B0 bra -0x4E /* 00001578 */
label000015C8:
000015C8 4A28 001E tst.b [A0 + 0x1E]
000015CC 6648 bne +0x4A /* 00001616 */
000015CE 7001 moveq.l D0, 0x01
000015D0 6100 F228 bsr -0xDD6 /* 000007FA */
000015D4 3D40 0204 move.w [A6 + 0x204], D0
000015D8 6018 bra +0x1A /* 000015F2 */
label000015DA:
000015DA 7001 moveq.l D0, 0x01
000015DC 6100 F21C bsr -0xDE2 /* 000007FA */
000015E0 B06E 0204 cmp.w D0, [A6 + 0x204]
000015E4 6648 bne +0x4A /* 0000162E */
000015E6 4A2E 04A4 tst.b [A6 + 0x4A4]
000015EA 6606 bne +0x8 /* 000015F2 */
000015EC 4A2E 04F4 tst.b [A6 + 0x4F4]
000015F0 664C bne +0x4E /* 0000163E */
label000015F2:
000015F2 6100 1F06 bsr +0x1F08 /* 000034FA */
000015F6 6B46 bmi +0x48 /* 0000163E */
000015F8 0828 000F 0012 btst.b [A0 + 0x12], 0xF
000015FE 671E beq +0x20 /* 0000161E */
00001600 3D7C 0068 0204 move.w [A6 + 0x204], 0x68 /* 'h' */
00001606 082E 000B 04D8 btst.b [A6 + 0x4D8], 0xB
0000160C 6730 beq +0x32 /* 0000163E */
0000160E 3D7C 006A 0204 move.w [A6 + 0x204], 0x6A /* 'j' */
00001614 6028 bra +0x2A /* 0000163E */
label00001616:
00001616 3D7C 0064 0204 move.w [A6 + 0x204], 0x64 /* 'd' */
0000161C 6020 bra +0x22 /* 0000163E */
label0000161E:
0000161E 0828 0004 0010 btst.b [A0 + 0x10], 0x4
00001624 6718 beq +0x1A /* 0000163E */
00001626 3D7C 0067 0204 move.w [A6 + 0x204], 0x67 /* 'g' */
0000162C 6010 bra +0x12 /* 0000163E */
label0000162E:
0000162E 4A2E 04A6 tst.b [A6 + 0x4A6]
00001632 6708 beq +0xA /* 0000163C */
00001634 0C6E 0064 0204 cmpi.w [A6 + 0x204], 0x64 /* 'd' */
0000163A 6602 bne +0x4 /* 0000163E */
label0000163C:
0000163C 6102 bsr +0x4 /* 00001640 */
label0000163E:
0000163E 4E75 rts
fn00001640:
00001640 554F subq.w A7, 2
00001642 3F3C 0080 move.w -[A7], 0x80
00001646 486E 04C8 pea.l [A6 + 0x4C8]
0000164A A970 syscall GetNextEvent
0000164C 2F0B move.l -[A7], A3
0000164E A873 syscall SetPort
00001650 4A1F tst.b [A7]+
00001652 6776 beq +0x78 /* 000016CA */
00001654 4A6E 04CA tst.w [A6 + 0x4CA]
00001658 671A beq +0x1C /* 00001674 */
0000165A 50EE 0455 st [A6 + 0x455]
0000165E 6100 05C8 bsr +0x5CA /* 00001C28 */
00001662 554F subq.w A7, 2
00001664 2F2E 015A move.l -[A7], [A6 + 0x15A]
00001668 2F2E 04CA move.l -[A7], [A6 + 0x4CA]
0000166C 4267 clr.w -[A7]
0000166E A9E9 syscall Pack2
00001670 4A5F tst.w [A7]+
00001672 6656 bne +0x58 /* 000016CA */
label00001674:
00001674 302E 03BE move.w D0, [A6 + 0x3BE]
00001678 6100 21CC bsr +0x21CE /* 00003846 */
0000167C 216E 03C2 0004 move.l [A0 + 0x4], [A6 + 0x3C2]
00001682 302E 04CC move.w D0, [A6 + 0x4CC]
00001686 6144 bsr +0x46 /* 000016CC */
00001688 302E 01A0 move.w D0, [A6 + 0x1A0]
0000168C 6100 2162 bsr +0x2164 /* 000037F0 */
00001690 302E 01A0 move.w D0, [A6 + 0x1A0]
00001694 6100 21B0 bsr +0x21B2 /* 00003846 */
00001698 2228 0004 move.l D1, [A0 + 0x4]
0000169C 6602 bne +0x4 /* 000016A0 */
0000169E 7202 moveq.l D1, 0x02
label000016A0:
000016A0 4A2E 04A6 tst.b [A6 + 0x4A6]
000016A4 6716 beq +0x18 /* 000016BC */
000016A6 396E 01A0 0006 move.w [A4 + 0x6], [A6 + 0x1A0]
000016AC 2941 0008 move.l [A4 + 0x8], D1
000016B0 422C 000C clr.b [A4 + 0xC]
000016B4 3D7C 006E 0204 move.w [A6 + 0x204], 0x6E /* 'n' */
000016BA 600E bra +0x10 /* 000016CA */
label000016BC:
000016BC 3D6E 04CC 03C0 move.w [A6 + 0x3C0], [A6 + 0x4CC]
000016C2 2D41 03C2 move.l [A6 + 0x3C2], D1
000016C6 6100 FE3E bsr -0x1C0 /* 00001506 */
label000016CA:
000016CA 4E75 rts
fn000016CC:
000016CC 41EE 018A lea.l A0, [A6 + 0x18A]
000016D0 4268 001C clr.w [A0 + 0x1C]
000016D4 3140 0016 move.w [A0 + 0x16], D0
000016D8 42A8 0012 clr.l [A0 + 0x12]
000016DC A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
000016DE 4E75 rts
fn000016E0:
000016E0 4A2E 04A9 tst.b [A6 + 0x4A9]
000016E4 6F0C ble +0xE /* 000016F2 */
000016E6 6100 1E12 bsr +0x1E14 /* 000034FA */
000016EA 6B06 bmi +0x8 /* 000016F2 */
000016EC 3E28 000A move.w D7, [A0 + 0xA]
000016F0 6004 bra +0x6 /* 000016F6 */
fn000016F2:
000016F2 3E2E 03BE move.w D7, [A6 + 0x3BE]
label000016F6:
000016F6 4A2E 0454 tst.b [A6 + 0x454]
000016FA 6614 bne +0x16 /* 00001710 */
000016FC BE6E 053C cmp.w D7, [A6 + 0x53C]
00001700 660E bne +0x10 /* 00001710 */
00001702 50EE 0454 st [A6 + 0x454]
00001706 50EE 0455 st [A6 + 0x455]
0000170A 3F3C 0002 move.w -[A7], 0x2
0000170E A9E9 syscall Pack2
label00001710:
00001710 422E 037A clr.b [A6 + 0x37A]
00001714 41EE 018A lea.l A0, [A6 + 0x18A]
00001718 42A8 0012 clr.l [A0 + 0x12]
0000171C 3147 0016 move.w [A0 + 0x16], D7
00001720 A017 syscall Eject
00001722 4E75 rts
fn00001724:
00001724 4440 neg.w D0
00001726 3D40 0322 move.w [A6 + 0x322], D0
0000172A 6106 bsr +0x8 /* 00001732 */
0000172C 4E75 rts
fn0000172E:
0000172E 2E38 0398 move.l D7, [0x00000398 /* CurDirStore */]
fn00001732:
00001732 342E 0322 move.w D2, [A6 + 0x322]
00001736 6B00 009C bmi +0x9E /* 000017D4 */
0000173A 4442 neg.w D2
0000173C 2278 0358 movea.l A1, [0x00000358]
label00001740:
00001740 B469 004E cmp.w D2, [A1 + 0x4E]
00001744 670A beq +0xC /* 00001750 */
00001746 2251 movea.l A1, [A1]
00001748 2009 move.l D0, A1
0000174A 66F4 bne -0xA /* 00001740 */
0000174C 6000 0086 bra +0x88 /* 000017D4 */
label00001750:
00001750 3229 004A move.w D1, [A1 + 0x4A]
00001754 6A00 007E bpl +0x80 /* 000017D4 */
00001758 41EE 018A lea.l A0, [A6 + 0x18A]
0000175C 317C FFFF 001C move.w [A0 + 0x1C], 0xFFFF
00001762 42A8 0012 clr.l [A0 + 0x12]
00001766 3142 0016 move.w [A0 + 0x16], D2
0000176A 2147 0030 move.l [A0 + 0x30], D7
0000176E 7009 moveq.l D0, 0x09
00001770 A260 syscall FSDispatch/HFSDispatch, flags=2
00001772 6702 beq +0x4 /* 00001776 */
00001774 7E02 moveq.l D7, 0x02
label00001776:
00001776 7600 moveq.l D3, 0x00
00001778 6022 bra +0x24 /* 0000179C */
fn0000177A:
0000177A 76FF moveq.l D3, 0xFFFFFFFF
0000177C 6002 bra +0x4 /* 00001780 */
fn0000177E:
0000177E 7600 moveq.l D3, 0x00
label00001780:
00001780 7E02 moveq.l D7, 0x02
00001782 2278 0358 movea.l A1, [0x00000358]
00001786 342E 03BE move.w D2, [A6 + 0x3BE]
0000178A 6700 0048 beq +0x4A /* 000017D4 */
label0000178E:
0000178E B469 004E cmp.w D2, [A1 + 0x4E]
00001792 6724 beq +0x26 /* 000017B8 */
00001794 2011 move.l D0, [A1]
00001796 673C beq +0x3E /* 000017D4 */
00001798 2240 movea.l A1, D0
0000179A 60F2 bra -0xC /* 0000178E */
label0000179C:
0000179C 3229 0048 move.w D1, [A1 + 0x48]
000017A0 6608 bne +0xA /* 000017AA */
000017A2 3229 004A move.w D1, [A1 + 0x4A]
000017A6 6A10 bpl +0x12 /* 000017B8 */
000017A8 4441 neg.w D1
label000017AA:
000017AA 6100 003A bsr +0x3C /* 000017E6 */
000017AE 4A40 tst.w D0
000017B0 6606 bne +0x8 /* 000017B8 */
000017B2 4A43 tst.w D3
000017B4 6726 beq +0x28 /* 000017DC */
000017B6 3601 move.w D3, D1
label000017B8:
000017B8 2011 move.l D0, [A1]
000017BA 6604 bne +0x6 /* 000017C0 */
000017BC 2038 0358 move.l D0, [0x00000358]
label000017C0:
000017C0 2240 movea.l A1, D0
000017C2 B469 004E cmp.w D2, [A1 + 0x4E]
000017C6 66D4 bne -0x2A /* 0000179C */
000017C8 4A43 tst.w D3
000017CA 6E04 bgt +0x6 /* 000017D0 */
000017CC 3202 move.w D1, D2
000017CE 600C bra +0xE /* 000017DC */
label000017D0:
000017D0 3203 move.w D1, D3
000017D2 6008 bra +0xA /* 000017DC */
label000017D4:
000017D4 2E2E 04E6 move.l D7, [A6 + 0x4E6]
000017D8 322E 053E move.w D1, [A6 + 0x53E]
label000017DC:
000017DC 3D41 03C0 move.w [A6 + 0x3C0], D1
000017E0 2D47 03C2 move.l [A6 + 0x3C2], D7
000017E4 4E75 rts
fn000017E6:
000017E6 48E7 40C0 movem.l -[A7], D1,A0,A1
000017EA 3029 004A move.w D0, [A1 + 0x4A]
000017EE 5240 addq.w D0, 1
000017F0 4440 neg.w D0
000017F2 E548 lsl D0.w, 2
000017F4 2078 011C movea.l A0, [0x0000011C /* UTableBase */]
000017F8 2070 0000 movea.l A0, [A0 + D0.w]
000017FC 2050 movea.l A0, [A0]
000017FE 0828 0006 0005 btst.b [A0 + 0x5], 0x6
00001804 2050 movea.l A0, [A0]
00001806 6702 beq +0x4 /* 0000180A */
00001808 2050 movea.l A0, [A0]
label0000180A:
0000180A 41E8 0014 lea.l A0, [A0 + 0x14]
0000180E 0C90 4146 5054 cmpi.l [A0], 0x41465054 /* 'AFPT' */
00001814 6746 beq +0x48 /* 0000185C */
00001816 4A2E 0592 tst.b [A6 + 0x592]
0000181A 6710 beq +0x12 /* 0000182C */
0000181C 0C69 4147 004C cmpi.w [A1 + 0x4C], 0x4147 /* 'AG' */
00001822 6738 beq +0x3A /* 0000185C */
00001824 0C69 4242 004C cmpi.w [A1 + 0x4C], 0x4242 /* 'BB' */
0000182A 6730 beq +0x32 /* 0000185C */
label0000182C:
0000182C 41EE 018A lea.l A0, [A6 + 0x18A]
00001830 3029 004E move.w D0, [A1 + 0x4E]
00001834 3140 0016 move.w [A0 + 0x16], D0
00001838 317C FFFF 001C move.w [A0 + 0x1C], 0xFFFF
0000183E 217C 0000 0002 0030 move.l [A0 + 0x30], 0x2
00001846 42A8 0012 clr.l [A0 + 0x12]
0000184A 7009 moveq.l D0, 0x09
0000184C A260 syscall FSDispatch/HFSDispatch, flags=2
0000184E 660C bne +0xE /* 0000185C */
00001850 0828 000E 0028 btst.b [A0 + 0x28], 0xE
00001856 6704 beq +0x6 /* 0000185C */
00001858 7001 moveq.l D0, 0x01
0000185A 6002 bra +0x4 /* 0000185E */
label0000185C:
0000185C 7000 moveq.l D0, 0x00
label0000185E:
0000185E 4CDF 0302 movem.l D1,A0,A1, [A7]+
00001862 4E75 rts
fn00001864:
00001864 2238 0358 move.l D1, [0x00000358]
label00001868:
00001868 6710 beq +0x12 /* 0000187A */
0000186A 2041 movea.l A0, D1
0000186C B068 004E cmp.w D0, [A0 + 0x4E]
00001870 6704 beq +0x6 /* 00001876 */
00001872 2210 move.l D1, [A0]
00001874 60F2 bra -0xC /* 00001868 */
label00001876:
00001876 3228 0048 move.w D1, [A0 + 0x48]
label0000187A:
0000187A 4E75 rts
fn0000187C:
0000187C 7600 moveq.l D3, 0x00
0000187E 2038 0358 move.l D0, [0x00000358]
label00001882:
00001882 6714 beq +0x16 /* 00001898 */
00001884 2240 movea.l A1, D0
00001886 3029 0048 move.w D0, [A1 + 0x48]
0000188A 6606 bne +0x8 /* 00001892 */
0000188C 3229 004A move.w D1, [A1 + 0x4A]
00001890 6A02 bpl +0x4 /* 00001894 */
label00001892:
00001892 5243 addq.w D3, 1
label00001894:
00001894 2011 move.l D0, [A1]
00001896 60EA bra -0x14 /* 00001882 */
label00001898:
00001898 4E75 rts
fn0000189A:
0000189A 41EE 018A lea.l A0, [A6 + 0x18A]
0000189E 42A8 0012 clr.l [A0 + 0x12]
000018A2 2278 0358 movea.l A1, [0x00000358]
label000018A6:
000018A6 4A69 0048 tst.w [A1 + 0x48]
000018AA 6614 bne +0x16 /* 000018C0 */
000018AC 4A69 004A tst.w [A1 + 0x4A]
000018B0 6B0E bmi +0x10 /* 000018C0 */
000018B2 4A29 0005 tst.b [A1 + 0x5]
000018B6 6B08 bmi +0xA /* 000018C0 */
000018B8 3169 004E 0016 move.w [A0 + 0x16], [A1 + 0x4E]
000018BE A00E syscall UnmountVol/HUnmountVol
label000018C0:
000018C0 2251 movea.l A1, [A1]
000018C2 2009 move.l D0, A1
000018C4 66E0 bne -0x1E /* 000018A6 */
000018C6 4E75 rts
fn000018C8:
000018C8 4A6E 03C0 tst.w [A6 + 0x3C0]
000018CC 6644 bne +0x46 /* 00001912 */
000018CE 6100 17EC bsr +0x17EE /* 000030BC */
000018D2 6100 1CA4 bsr +0x1CA6 /* 00003578 */
000018D6 6100 1CA8 bsr +0x1CAA /* 00003580 */
000018DA 2F2E 04AC move.l -[A7], [A6 + 0x4AC]
000018DE 3F3C FFFC move.w -[A7], 0xFFFC
000018E2 A9E7 syscall Pack0/ListManager
000018E4 7000 moveq.l D0, 0x00
000018E6 4E75 rts
000018E8 4A2E 056B tst.b [A6 + 0x56B]
000018EC 6624 bne +0x26 /* 00001912 */
fn000018EE:
000018EE 6100 21C2 bsr +0x21C4 /* 00003AB2 */
000018F2 594F subq.w A7, 4
000018F4 3F3C 0004 move.w -[A7], 0x4
000018F8 A9B9 syscall GetCursor
000018FA 205F movea.l A0, [A7]+
000018FC 2F10 move.l -[A7], [A0]
000018FE A851 syscall SetCursor
00001900 6100 0052 bsr +0x54 /* 00001954 */
00001904 671C beq +0x1E /* 00001922 */
00001906 6100 0320 bsr +0x322 /* 00001C28 */
0000190A 4E75 rts
fn0000190C:
0000190C 4A2E 04A4 tst.b [A6 + 0x4A4]
00001910 67DC beq -0x22 /* 000018EE */
label00001912:
00001912 61DA bsr -0x24 /* 000018EE */
00001914 660A bne +0xC /* 00001920 */
00001916 303C 001F move.w D0, 0x1F
0000191A 6100 21F8 bsr +0x21FA /* 00003B14 */
0000191E 7000 moveq.l D0, 0x00
label00001920:
00001920 4E75 rts
fn00001922:
00001922 4A2E 072B tst.b [A6 + 0x72B]
00001926 6710 beq +0x12 /* 00001938 */
00001928 486E 03F2 pea.l [A6 + 0x3F2]
0000192C A8A3 syscall EraseRect
0000192E 6100 2012 bsr +0x2014 /* 00003942 */
00001932 6100 1C4C bsr +0x1C4E /* 00003580 */
00001936 6008 bra +0xA /* 00001940 */
label00001938:
00001938 6100 2008 bsr +0x200A /* 00003942 */
0000193C 6100 0B10 bsr +0xB12 /* 0000244E */
label00001940:
00001940 6100 0EA2 bsr +0xEA4 /* 000027E4 */
00001944 6100 1776 bsr +0x1778 /* 000030BC */
00001948 6100 1788 bsr +0x178A /* 000030D2 */
0000194C 6100 02DA bsr +0x2DC /* 00001C28 */
00001950 7000 moveq.l D0, 0x00
00001952 4E75 rts
fn00001954:
00001954 302E 03C0 move.w D0, [A6 + 0x3C0]
00001958 6700 022E beq +0x230 /* 00001B88 */
0000195C 422E 04A9 clr.b [A6 + 0x4A9]
00001960 41EE 018A lea.l A0, [A6 + 0x18A]
00001964 4268 001C clr.w [A0 + 0x1C]
00001968 316E 03C0 0016 move.w [A0 + 0x16], [A6 + 0x3C0]
0000196E 43EE 037A lea.l A1, [A6 + 0x37A]
00001972 2149 0012 move.l [A0 + 0x12], A1
00001976 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00001978 6600 020E bne +0x210 /* 00001B88 */
0000197C 43EE 0372 lea.l A1, [A6 + 0x372]
00001980 32AE 0724 move.w [A1], [A6 + 0x724]
00001984 336E 0726 0002 move.w [A1 + 0x2], [A6 + 0x726]
0000198A 4229 0005 clr.b [A1 + 0x5]
0000198E 336F 0728 0006 move.w [A1 + 0x6], [A7 + 0x728]
00001994 3D68 0040 03CA move.w [A6 + 0x3CA], [A0 + 0x40]
0000199A 3028 0026 move.w D0, [A0 + 0x26]
0000199E 0240 8080 andi.w D0, 0x8080
000019A2 56EE 0451 sne [A6 + 0x451]
000019A6 3028 0016 move.w D0, [A0 + 0x16]
000019AA 6100 1EEE bsr +0x1EF0 /* 0000389A */
000019AE 3D40 03BA move.w [A6 + 0x3BA], D0
000019B2 41EE 018A lea.l A0, [A6 + 0x18A]
000019B6 3028 0016 move.w D0, [A0 + 0x16]
000019BA 3D40 03BE move.w [A6 + 0x3BE], D0
000019BE 31C0 0214 move.w [0x00000214 /* SFSaveDisk */], D0
000019C2 4478 0214 neg.w [0x00000214 /* SFSaveDisk */]
000019C6 322E 03C0 move.w D1, [A6 + 0x3C0]
000019CA 6100 023C bsr +0x23E /* 00001C08 */
000019CE 1D40 03C6 move.b [A6 + 0x3C6], D0
000019D2 41EE 018A lea.l A0, [A6 + 0x18A]
000019D6 42A8 0012 clr.l [A0 + 0x12]
000019DA 316E 03BE 0016 move.w [A0 + 0x16], [A6 + 0x3BE]
000019E0 43EE 03CC lea.l A1, [A6 + 0x3CC]
000019E4 2149 0020 move.l [A0 + 0x20], A1
000019E8 700E moveq.l D0, 0x0E
000019EA 2140 0024 move.l [A0 + 0x24], D0
000019EE 7030 moveq.l D0, 0x30
000019F0 A260 syscall FSDispatch/HFSDispatch, flags=2
000019F2 6600 0194 bne +0x196 /* 00001B88 */
000019F6 302E 03BE move.w D0, [A6 + 0x3BE]
000019FA 223C 656D 7074 move.l D1, 0x656D7074 /* 'empt' */
00001A00 6100 01C6 bsr +0x1C8 /* 00001BC8 */
00001A04 2D40 04E2 move.l [A6 + 0x4E2], D0
00001A08 302E 03BE move.w D0, [A6 + 0x3BE]
00001A0C 223C 6465 736B move.l D1, 0x6465736B /* 'desk' */
00001A12 6100 01B4 bsr +0x1B6 /* 00001BC8 */
00001A16 2D40 04E6 move.l [A6 + 0x4E6], D0
00001A1A 302E 03BE move.w D0, [A6 + 0x3BE]
00001A1E 223C 7465 6D70 move.l D1, 0x74656D70 /* 'temp' */
00001A24 6100 01A2 bsr +0x1A4 /* 00001BC8 */
00001A28 2D40 070A move.l [A6 + 0x70A], D0
00001A2C 4AAE 070E tst.l [A6 + 0x70E]
00001A30 661C bne +0x1E /* 00001A4E */
00001A32 4A2E 0714 tst.b [A6 + 0x714]
00001A36 6716 beq +0x18 /* 00001A4E */
00001A38 53AE 070E subq.l [A6 + 0x70E], 1
00001A3C 554F subq.w A7, 2
00001A3E 4267 clr.w -[A7]
00001A40 486E 0712 pea.l [A6 + 0x712]
00001A44 486E 070E pea.l [A6 + 0x70E]
00001A48 7020 moveq.l D0, 0x20
00001A4A ABFC syscall TranslationDispatch
00001A4C 544F addq.w A7, 2
label00001A4E:
00001A4E 202E 03C2 move.l D0, [A6 + 0x3C2]
00001A52 4A2E 0714 tst.b [A6 + 0x714]
00001A56 676A beq +0x6C /* 00001AC2 */
00001A58 B0AE 070A cmp.l D0, [A6 + 0x70A]
00001A5C 6710 beq +0x12 /* 00001A6E */
00001A5E B0AE 070E cmp.l D0, [A6 + 0x70E]
00001A62 665E bne +0x60 /* 00001AC2 */
00001A64 302E 0712 move.w D0, [A6 + 0x712]
00001A68 B06E 03BE cmp.w D0, [A6 + 0x3BE]
00001A6C 6654 bne +0x56 /* 00001AC2 */
label00001A6E:
00001A6E 554F subq.w A7, 2
00001A70 486E 06C6 pea.l [A6 + 0x6C6]
00001A74 4878 FFFF push.l 0xFFFF
00001A78 3F3C 0039 move.w -[A7], 0x39 /* '9' */
00001A7C A88F syscall OSDispatch
00001A7E 544F addq.w A7, 2
00001A80 594F subq.w A7, 4
00001A82 701A moveq.l D0, 0x1A
00001A84 ABFC syscall TranslationDispatch
00001A86 205F movea.l A0, [A7]+
00001A88 2010 move.l D0, [A0]
00001A8A B0AE 06C6 cmp.l D0, [A6 + 0x6C6]
00001A8E 6624 bne +0x26 /* 00001AB4 */
00001A90 2028 0004 move.l D0, [A0 + 0x4]
00001A94 B0AE 06CA cmp.l D0, [A6 + 0x6CA]
00001A98 661A bne +0x1C /* 00001AB4 */
00001A9A 3D68 0008 0322 move.w [A6 + 0x322], [A0 + 0x8]
00001AA0 31E8 0008 0214 move.w [0x00000214 /* SFSaveDisk */], [A0 + 0x8]
00001AA6 21E8 000A 0398 move.l [0x00000398 /* CurDirStore */], [A0 + 0xA]
00001AAC 6100 FC80 bsr -0x37E /* 0000172E */
00001AB0 6000 FEA2 bra -0x15C /* 00001954 */
label00001AB4:
00001AB4 21EE 04E6 0398 move.l [0x00000398 /* CurDirStore */], [A6 + 0x4E6]
00001ABA 6100 FC72 bsr -0x38C /* 0000172E */
00001ABE 6000 FE94 bra -0x16A /* 00001954 */
label00001AC2:
00001AC2 B0AE 04E2 cmp.l D0, [A6 + 0x4E2]
00001AC6 660E bne +0x10 /* 00001AD6 */
label00001AC8:
00001AC8 7002 moveq.l D0, 0x02
00001ACA 2D40 03C2 move.l [A6 + 0x3C2], D0
00001ACE 21C0 0398 move.l [0x00000398 /* CurDirStore */], D0
00001AD2 6000 FE80 bra -0x17E /* 00001954 */
label00001AD6:
00001AD6 B0AE 04E6 cmp.l D0, [A6 + 0x4E6]
00001ADA 662C bne +0x2E /* 00001B08 */
00001ADC 43EE 0332 lea.l A1, [A6 + 0x332]
00001AE0 1D7C 0001 04A9 move.b [A6 + 0x4A9], 0x1
00001AE6 7201 moveq.l D1, 0x01
00001AE8 6100 0B4A bsr +0xB4C /* 00002634 */
00001AEC 3D6E 0538 032C move.w [A6 + 0x32C], [A6 + 0x538]
00001AF2 21EE 03C2 0398 move.l [0x00000398 /* CurDirStore */], [A6 + 0x3C2]
00001AF8 50EE 03C6 st [A6 + 0x3C6]
00001AFC 426E 03C8 clr.w [A6 + 0x3C8]
00001B00 426E 0452 clr.w [A6 + 0x452]
00001B04 6000 0080 bra +0x82 /* 00001B86 */
label00001B08:
00001B08 222E 03C2 move.l D1, [A6 + 0x3C2]
label00001B0C:
00001B0C 41EE 018A lea.l A0, [A6 + 0x18A]
00001B10 317C FFFF 001C move.w [A0 + 0x1C], 0xFFFF
00001B16 2141 0030 move.l [A0 + 0x30], D1
00001B1A 43EE 0332 lea.l A1, [A6 + 0x332]
00001B1E 2149 0012 move.l [A0 + 0x12], A1
00001B22 7009 moveq.l D0, 0x09
00001B24 A260 syscall FSDispatch/HFSDispatch, flags=2
00001B26 670A beq +0xC /* 00001B32 */
00001B28 7202 moveq.l D1, 0x02
00001B2A B2AE 03C2 cmp.l D1, [A6 + 0x3C2]
00001B2E 6758 beq +0x5A /* 00001B88 */
00001B30 60DA bra -0x24 /* 00001B0C */
label00001B32:
00001B32 3D68 0034 03C8 move.w [A6 + 0x3C8], [A0 + 0x34]
00001B38 422E 0452 clr.b [A6 + 0x452]
00001B3C 202E 03CE move.l D0, [A6 + 0x3CE]
00001B40 0800 0012 btst.b D0, 0x12
00001B44 670C beq +0xE /* 00001B52 */
00001B46 1D68 001F 0452 move.b [A6 + 0x452], [A0 + 0x1F]
00001B4C 08AE 0007 0452 bclr.b [A6 + 0x452], 0x7
label00001B52:
00001B52 4A2E 0451 tst.b [A6 + 0x451]
00001B56 6706 beq +0x8 /* 00001B5E */
00001B58 08EE 0002 0452 bset.b [A6 + 0x452], 0x2
label00001B5E:
00001B5E 21C1 0398 move.l [0x00000398 /* CurDirStore */], D1
00001B62 2D41 03C2 move.l [A6 + 0x3C2], D1
label00001B66:
00001B66 2228 0064 move.l D1, [A0 + 0x64]
00001B6A B2AE 04E2 cmp.l D1, [A6 + 0x4E2]
00001B6E 6700 FF58 beq -0xA6 /* 00001AC8 */
00001B72 317C FFFF 001C move.w [A0 + 0x1C], 0xFFFF
00001B78 2141 0030 move.l [A0 + 0x30], D1
00001B7C 42A8 0012 clr.l [A0 + 0x12]
00001B80 7009 moveq.l D0, 0x09
00001B82 A260 syscall FSDispatch/HFSDispatch, flags=2
00001B84 67E0 beq -0x1E /* 00001B66 */
label00001B86:
00001B86 7000 moveq.l D0, 0x00
label00001B88:
00001B88 4E75 rts
fn00001B8A:
00001B8A 48E7 F080 movem.l -[A7], D0,D1,D2,D3,A0
00001B8E 3002 move.w D0, D2
00001B90 223C 656D 7074 move.l D1, 0x656D7074 /* 'empt' */
00001B96 6130 bsr +0x32 /* 00001BC8 */
00001B98 6604 bne +0x6 /* 00001B9E */
00001B9A 7001 moveq.l D0, 0x01
00001B9C 6024 bra +0x26 /* 00001BC2 */
label00001B9E:
00001B9E 2200 move.l D1, D0
00001BA0 41EE 018A lea.l A0, [A6 + 0x18A]
label00001BA4:
00001BA4 2143 0030 move.l [A0 + 0x30], D3
00001BA8 B283 cmp.l D1, D3
00001BAA 6716 beq +0x18 /* 00001BC2 */
00001BAC 317C FFFF 001C move.w [A0 + 0x1C], 0xFFFF
00001BB2 42A8 0012 clr.l [A0 + 0x12]
00001BB6 7009 moveq.l D0, 0x09
00001BB8 A260 syscall FSDispatch/HFSDispatch, flags=2
00001BBA 2628 0064 move.l D3, [A0 + 0x64]
00001BBE 4A40 tst.w D0
00001BC0 67E2 beq -0x1C /* 00001BA4 */
label00001BC2:
00001BC2 4CDF 010F movem.l D0,D1,D2,D3,A0, [A7]+
00001BC6 4E75 rts
fn00001BC8:
00001BC8 554F subq.w A7, 2
00001BCA 3F00 move.w -[A7], D0
00001BCC 2F01 move.l -[A7], D1
00001BCE 50E7 st -[A7]
00001BD0 486E 0214 pea.l [A6 + 0x214]
00001BD4 42AE 0208 clr.l [A6 + 0x208]
00001BD8 486E 0208 pea.l [A6 + 0x208]
00001BDC 7000 moveq.l D0, 0x00
00001BDE A823 syscall AliasDispatch
00001BE0 544F addq.w A7, 2
00001BE2 202E 0208 move.l D0, [A6 + 0x208]
00001BE6 4E75 rts
fn00001BE8:
00001BE8 223C 6465 736B move.l D1, 0x6465736B /* 'desk' */
00001BEE 6006 bra +0x8 /* 00001BF6 */
00001BF0 223C 656D 7074 move.l D1, 0x656D7074 /* 'empt' */
label00001BF6:
00001BF6 302E 053C move.w D0, [A6 + 0x53C]
00001BFA 61CC bsr -0x32 /* 00001BC8 */
00001BFC 2D40 03C2 move.l [A6 + 0x3C2], D0
00001C00 3D6E 053E 03C0 move.w [A6 + 0x3C0], [A6 + 0x53E]
00001C06 4E75 rts
fn00001C08:
00001C08 2F08 move.l -[A7], A0
00001C0A 2078 030A movea.l A0, [0x0000030A]
label00001C0E:
00001C0E B268 0006 cmp.w D1, [A0 + 0x6]
00001C12 6708 beq +0xA /* 00001C1C */
00001C14 2050 movea.l A0, [A0]
00001C16 2008 move.l D0, A0
00001C18 66F4 bne -0xA /* 00001C0E */
00001C1A 6008 bra +0xA /* 00001C24 */
label00001C1C:
00001C1C 0C28 0008 FFFD cmpi.b [A0 - 0x3], 0x8
00001C22 5CC0 sge D0
label00001C24:
00001C24 205F movea.l A0, [A7]+
00001C26 4E75 rts
fn00001C28:
00001C28 2055 movea.l A0, [A5]
00001C2A 4868 FF94 pea.l [A0 - 0x6C]
00001C2E A851 syscall SetCursor
00001C30 4E75 rts
fn00001C32:
00001C32 4E54 FFF4 link A4, -0x000C
00001C36 48E7 1832 movem.l -[A7], D3,D4,A2,A3,A6
00001C3A 426C 0014 clr.w [A4 + 0x14]
00001C3E 426C FFF4 clr.w [A4 - 0xC]
00001C42 246C 000C movea.l A2, [A4 + 0xC]
00001C46 266C 0010 movea.l A3, [A4 + 0x10]
00001C4A 4DD3 lea.l A6, [A3]
00001C4C 0CAB 7374 6466 0098 cmpi.l [A3 + 0x98], 0x73746466 /* 'stdf' */
00001C54 6704 beq +0x6 /* 00001C5A */
00001C56 4DEB FF56 lea.l A6, [A3 - 0xAA]
label00001C5A:
00001C5A 4A2E 04A6 tst.b [A6 + 0x4A6]
00001C5E 6708 beq +0xA /* 00001C68 */
00001C60 6100 046E bsr +0x470 /* 000020D0 */
00001C64 6600 0434 bne +0x436 /* 0000209A */
label00001C68:
00001C68 6100 043E bsr +0x440 /* 000020A8 */
00001C6C 812C 0014 or.b [A4 + 0x14], D0
00001C70 6600 0428 bne +0x42A /* 0000209A */
00001C74 3012 move.w D0, [A2]
00001C76 6700 03D2 beq +0x3D4 /* 0000204A */
00001C7A 0C40 0008 cmpi.w D0, 0x8
00001C7E 6700 036C beq +0x36E /* 00001FEC */
00001C82 0CAB 7374 6466 0098 cmpi.l [A3 + 0x98], 0x73746466 /* 'stdf' */
00001C8A 671E beq +0x20 /* 00001CAA */
00001C8C 0CAB 6E66 6472 0098 cmpi.l [A3 + 0x98], 0x6E666472 /* 'nfdr' */
00001C94 662A bne +0x2C /* 00001CC0 */
00001C96 5740 subq.w D0, 3
00001C98 6700 01E2 beq +0x1E4 /* 00001E7C */
00001C9C 5540 subq.w D0, 2
00001C9E 6700 01DC beq +0x1DE /* 00001E7C */
00001CA2 5340 subq.w D0, 1
00001CA4 6700 02DE beq +0x2E0 /* 00001F84 */
00001CA8 6016 bra +0x18 /* 00001CC0 */
label00001CAA:
00001CAA 5340 subq.w D0, 1
00001CAC 6716 beq +0x18 /* 00001CC4 */
00001CAE 5540 subq.w D0, 2
00001CB0 6700 009E beq +0xA0 /* 00001D50 */
00001CB4 5540 subq.w D0, 2
00001CB6 6700 01C4 beq +0x1C6 /* 00001E7C */
00001CBA 5340 subq.w D0, 1
00001CBC 6700 02C6 beq +0x2C8 /* 00001F84 */
label00001CC0:
00001CC0 6000 0082 bra +0x84 /* 00001D44 */
label00001CC4:
00001CC4 554F subq.w A7, 2
00001CC6 2F2A 000A move.l -[A7], [A2 + 0xA]
00001CCA 486C FFF8 pea.l [A4 - 0x8]
00001CCE A92C syscall FindWindow
00001CD0 301F move.w D0, [A7]+
00001CD2 B7EC FFF8 cmpa.l A3, [A4 - 0x8]
00001CD6 66E8 bne -0x16 /* 00001CC0 */
00001CD8 0C40 0003 cmpi.w D0, 0x3
00001CDC 66E2 bne -0x1C /* 00001CC0 */
00001CDE 296A 000A FFFC move.l [A4 - 0x4], [A2 + 0xA]
00001CE4 486C FFFC pea.l [A4 - 0x4]
00001CE8 A871 syscall GlobalToLocal
00001CEA 2D6C FFFC 04DE move.l [A6 + 0x4DE], [A4 - 0x4]
00001CF0 554F subq.w A7, 2
00001CF2 2F2C FFFC move.l -[A7], [A4 - 0x4]
00001CF6 206E 03EE movea.l A0, [A6 + 0x3EE]
00001CFA 2050 movea.l A0, [A0]
00001CFC 2068 001C movea.l A0, [A0 + 0x1C]
00001D00 2050 movea.l A0, [A0]
00001D02 4868 000A pea.l [A0 + 0xA]
00001D06 A8AD syscall PtInRect
00001D08 7066 moveq.l D0, 0x66
00001D0A 4A1F tst.b [A7]+
00001D0C 6600 034E bne +0x350 /* 0000205C */
00001D10 554F subq.w A7, 2
00001D12 2F2C 0010 move.l -[A7], [A4 + 0x10]
00001D16 2F2C FFFC move.l -[A7], [A4 - 0x4]
00001D1A A984 syscall FindDialogItem/FindDItem
00001D1C 321F move.w D1, [A7]+
00001D1E 6B2C bmi +0x2E /* 00001D4C */
00001D20 5241 addq.w D1, 1
00001D22 206E 017E movea.l A0, [A6 + 0x17E]
00001D26 3010 move.w D0, [A0]
00001D28 0C40 0001 cmpi.w D0, 0x1
00001D2C 6716 beq +0x18 /* 00001D44 */
00001D2E B26E 04EA cmp.w D1, [A6 + 0x4EA]
00001D32 6710 beq +0x12 /* 00001D44 */
label00001D34:
00001D34 5448 addq.w A0, 2
00001D36 5340 subq.w D0, 1
00001D38 6B0A bmi +0xC /* 00001D44 */
00001D3A B250 cmp.w D1, [A0]
00001D3C 66F6 bne -0x8 /* 00001D34 */
00001D3E 3001 move.w D0, D1
00001D40 6100 F7A0 bsr -0x85E /* 000014E2 */
label00001D44:
00001D44 6000 0322 bra +0x324 /* 00002068 */
00001D48 0344 bchg D4, D1
00001D4A 4549 chk.w D2, A1
label00001D4C:
00001D4C 6000 031A bra +0x31C /* 00002068 */
label00001D50:
00001D50 322A 000E move.w D1, [A2 + 0xE]
00001D54 7400 moveq.l D2, 0x00
00001D56 142A 0005 move.b D2, [A2 + 0x5]
00001D5A 0801 0008 btst.b D1, 0x8
00001D5E 6700 00E2 beq +0xE4 /* 00001E42 */
00001D62 4A2E 04F4 tst.b [A6 + 0x4F4]
00001D66 6616 bne +0x18 /* 00001D7E */
00001D68 7001 moveq.l D0, 0x01
00001D6A 6100 EA8E bsr -0x1570 /* 000007FA */
00001D6E B42E 0564 cmp.b D2, [A6 + 0x564]
00001D72 6700 02DE beq +0x2E0 /* 00002052 */
00001D76 B42E 0565 cmp.b D2, [A6 + 0x565]
00001D7A 6700 02D6 beq +0x2D8 /* 00002052 */
label00001D7E:
00001D7E 4A2E 054F tst.b [A6 + 0x54F]
00001D82 6638 bne +0x3A /* 00001DBC */
00001D84 7006 moveq.l D0, 0x06
00001D86 6100 EA72 bsr -0x158C /* 000007FA */
00001D8A B42E 0566 cmp.b D2, [A6 + 0x566]
00001D8E 6700 02C2 beq +0x2C4 /* 00002052 */
00001D92 4A2E 04A4 tst.b [A6 + 0x4A4]
00001D96 6624 bne +0x26 /* 00001DBC */
00001D98 4A2E 04F4 tst.b [A6 + 0x4F4]
00001D9C 670E beq +0x10 /* 00001DAC */
00001D9E 7001 moveq.l D0, 0x01
00001DA0 6100 EA58 bsr -0x15A6 /* 000007FA */
00001DA4 B42E 0568 cmp.b D2, [A6 + 0x568]
00001DA8 6700 02A8 beq +0x2AA /* 00002052 */
label00001DAC:
00001DAC 700C moveq.l D0, 0x0C
00001DAE 4A2E 054E tst.b [A6 + 0x54E]
00001DB2 6708 beq +0xA /* 00001DBC */
00001DB4 B42E 0567 cmp.b D2, [A6 + 0x567]
00001DB8 6700 0298 beq +0x29A /* 00002052 */
label00001DBC:
00001DBC 0C02 001F cmpi.b D2, 0x1F
00001DC0 662C bne +0x2E /* 00001DEE */
00001DC2 6100 1736 bsr +0x1738 /* 000034FA */
00001DC6 6B76 bmi +0x78 /* 00001E3E */
00001DC8 0828 0004 0010 btst.b [A0 + 0x10], 0x4
00001DCE 676E beq +0x70 /* 00001E3E */
00001DD0 303C 0067 move.w D0, 0x67 /* 'g' */
00001DD4 0828 000F 0012 btst.b [A0 + 0x12], 0xF
00001DDA 674A beq +0x4C /* 00001E26 */
00001DDC 303C 006A move.w D0, 0x6A /* 'j' */
00001DE0 082A 000B 000E btst.b [A2 + 0xE], 0xB
00001DE6 663E bne +0x40 /* 00001E26 */
00001DE8 303C 0068 move.w D0, 0x68 /* 'h' */
00001DEC 6038 bra +0x3A /* 00001E26 */
label00001DEE:
00001DEE 303C 006C move.w D0, 0x6C /* 'l' */
00001DF2 0C02 001D cmpi.b D2, 0x1D
00001DF6 672E beq +0x30 /* 00001E26 */
00001DF8 303C 006D move.w D0, 0x6D /* 'm' */
00001DFC 0C02 001C cmpi.b D2, 0x1C
00001E00 6724 beq +0x26 /* 00001E26 */
00001E02 0C02 001E cmpi.b D2, 0x1E
00001E06 663A bne +0x3C /* 00001E42 */
00001E08 303C 006B move.w D0, 0x6B /* 'k' */
00001E0C 0801 0009 btst.b D1, 0x9 /* '\t' */
00001E10 6714 beq +0x16 /* 00001E26 */
00001E12 303C 0006 move.w D0, 0x6
00001E16 6100 E9E2 bsr -0x161C /* 000007FA */
00001E1A 6100 038C bsr +0x38E /* 000021A8 */
00001E1E 6B00 022A bmi +0x22C /* 0000204A */
00001E22 6100 03BE bsr +0x3C0 /* 000021E2 */
label00001E26:
00001E26 3F00 move.w -[A7], D0
00001E28 7007 moveq.l D0, 0x07
00001E2A 6100 E9CE bsr -0x1630 /* 000007FA */
00001E2E B06E 04EA cmp.w D0, [A6 + 0x4EA]
00001E32 6704 beq +0x6 /* 00001E38 */
00001E34 6100 F6AC bsr -0x952 /* 000014E2 */
label00001E38:
00001E38 301F move.w D0, [A7]+
00001E3A 6000 0220 bra +0x222 /* 0000205C */
label00001E3E:
00001E3E 6000 0228 bra +0x22A /* 00002068 */
label00001E42:
00001E42 0C02 0009 cmpi.b D2, 0x9 /* '\t' */
00001E46 6634 bne +0x36 /* 00001E7C */
00001E48 322E 04EA move.w D1, [A6 + 0x4EA]
00001E4C 206E 017E movea.l A0, [A6 + 0x17E]
00001E50 0C50 0001 cmpi.w [A0], 0x1
00001E54 6720 beq +0x22 /* 00001E76 */
00001E56 3010 move.w D0, [A0]
00001E58 322E 04EA move.w D1, [A6 + 0x4EA]
label00001E5C:
00001E5C 5448 addq.w A0, 2
00001E5E 5340 subq.w D0, 1
00001E60 6B08 bmi +0xA /* 00001E6A */
00001E62 B250 cmp.w D1, [A0]
00001E64 66F6 bne -0x8 /* 00001E5C */
00001E66 4A40 tst.w D0
00001E68 6604 bne +0x6 /* 00001E6E */
label00001E6A:
00001E6A 206E 017E movea.l A0, [A6 + 0x17E]
label00001E6E:
00001E6E 3028 0002 move.w D0, [A0 + 0x2]
00001E72 6100 F66E bsr -0x990 /* 000014E2 */
label00001E76:
00001E76 4252 clr.w [A2]
00001E78 6000 01D0 bra +0x1D2 /* 0000204A */
label00001E7C:
00001E7C 4A2E 04A6 tst.b [A6 + 0x4A6]
00001E80 6618 bne +0x1A /* 00001E9A */
00001E82 6100 024C bsr +0x24E /* 000020D0 */
00001E86 6600 0212 bne +0x214 /* 0000209A */
00001E8A 3012 move.w D0, [A2]
00001E8C 0C40 0003 cmpi.w D0, 0x3
00001E90 6708 beq +0xA /* 00001E9A */
00001E92 0C40 0005 cmpi.w D0, 0x5
00001E96 6600 0202 bne +0x204 /* 0000209A */
label00001E9A:
00001E9A 322A 000E move.w D1, [A2 + 0xE]
00001E9E 7400 moveq.l D2, 0x00
00001EA0 142A 0005 move.b D2, [A2 + 0x5]
00001EA4 0C02 0009 cmpi.b D2, 0x9 /* '\t' */
00001EA8 6700 01A0 beq +0x1A2 /* 0000204A */
00001EAC 0801 0008 btst.b D1, 0x8
00001EB0 6744 beq +0x46 /* 00001EF6 */
00001EB2 4A2E 04A4 tst.b [A6 + 0x4A4]
00001EB6 6600 01B0 bne +0x1B2 /* 00002068 */
00001EBA 0C02 0056 cmpi.b D2, 0x56 /* 'V' */
00001EBE 6708 beq +0xA /* 00001EC8 */
00001EC0 0C02 0076 cmpi.b D2, 0x76 /* 'v' */
00001EC4 6600 01A2 bne +0x1A4 /* 00002068 */
label00001EC8:
00001EC8 0CAB 6E66 6472 0098 cmpi.l [A3 + 0x98], 0x6E666472 /* 'nfdr' */
00001ED0 671C beq +0x1E /* 00001EEE */
00001ED2 0CAB 7374 6466 0098 cmpi.l [A3 + 0x98], 0x73746466 /* 'stdf' */
00001EDA 6600 018C bne +0x18E /* 00002068 */
00001EDE 700A moveq.l D0, 0x0A
00001EE0 6100 E918 bsr -0x16E6 /* 000007FA */
00001EE4 5340 subq.w D0, 1
00001EE6 B06B 00A4 cmp.w D0, [A3 + 0xA4]
00001EEA 6600 017C bne +0x17E /* 00002068 */
label00001EEE:
00001EEE 6100 0216 bsr +0x218 /* 00002106 */
00001EF2 6000 0156 bra +0x158 /* 0000204A */
label00001EF6:
00001EF6 4A2E 056B tst.b [A6 + 0x56B]
00001EFA 6678 bne +0x7A /* 00001F74 */
00001EFC 362B 00A4 move.w D3, [A3 + 0xA4]
00001F00 5243 addq.w D3, 1
00001F02 0CAB 7374 6466 0098 cmpi.l [A3 + 0x98], 0x73746466 /* 'stdf' */
00001F0A 660A bne +0xC /* 00001F16 */
00001F0C 700A moveq.l D0, 0x0A
00001F0E 6100 E8EA bsr -0x1714 /* 000007FA */
00001F12 B043 cmp.w D0, D3
00001F14 6654 bne +0x56 /* 00001F6A */
label00001F16:
00001F16 0C02 000D cmpi.b D2, 0xD /* '\r' */
00001F1A 674A beq +0x4C /* 00001F66 */
00001F1C 0C02 0003 cmpi.b D2, 0x3
00001F20 6744 beq +0x46 /* 00001F66 */
00001F22 0C02 003A cmpi.b D2, 0x3A /* ':' */
00001F26 673E beq +0x40 /* 00001F66 */
00001F28 206B 00A0 movea.l A0, [A3 + 0xA0]
00001F2C 2050 movea.l A0, [A0]
00001F2E 3028 003C move.w D0, [A0 + 0x3C]
00001F32 0C40 001F cmpi.w D0, 0x1F
00001F36 6D38 blt +0x3A /* 00001F70 */
00001F38 0C02 001C cmpi.b D2, 0x1C
00001F3C 6732 beq +0x34 /* 00001F70 */
00001F3E 0C02 001D cmpi.b D2, 0x1D
00001F42 672C beq +0x2E /* 00001F70 */
00001F44 0C02 001E cmpi.b D2, 0x1E
00001F48 6726 beq +0x28 /* 00001F70 */
00001F4A 0C02 001F cmpi.b D2, 0x1F
00001F4E 6720 beq +0x22 /* 00001F70 */
00001F50 0C02 0008 cmpi.b D2, 0x8
00001F54 671A beq +0x1C /* 00001F70 */
00001F56 3028 0022 move.w D0, [A0 + 0x22]
00001F5A 9068 0020 sub.w D0, [A0 + 0x20]
00001F5E 6E10 bgt +0x12 /* 00001F70 */
00001F60 3F3C 0001 move.w -[A7], 0x1
00001F64 A9C8 syscall SysBeep
label00001F66:
00001F66 6000 00E2 bra +0xE4 /* 0000204A */
label00001F6A:
00001F6A 4A2E 056C tst.b [A6 + 0x56C]
00001F6E 67F6 beq -0x8 /* 00001F66 */
label00001F70:
00001F70 6000 00F6 bra +0xF8 /* 00002068 */
label00001F74:
00001F74 0801 0008 btst.b D1, 0x8
00001F78 6670 bne +0x72 /* 00001FEA */
00001F7A 3002 move.w D0, D2
00001F7C 0640 1000 addi.w D0, 0x1000
00001F80 6000 00DA bra +0xDC /* 0000205C */
label00001F84:
00001F84 2F0B move.l -[A7], A3
00001F86 47D6 lea.l A3, [A6]
00001F88 B7EA 0002 cmpa.l A3, [A2 + 0x2]
00001F8C 6656 bne +0x58 /* 00001FE4 */
00001F8E 594F subq.w A7, 4
00001F90 4857 pea.l [A7]
00001F92 A874 syscall GetPort
00001F94 2F0B move.l -[A7], A3
00001F96 A873 syscall SetPort
00001F98 102E 056B move.b D0, [A6 + 0x56B]
00001F9C 6100 0264 bsr +0x266 /* 00002202 */
00001FA0 4A2E 04A6 tst.b [A6 + 0x4A6]
00001FA4 6606 bne +0x8 /* 00001FAC */
00001FA6 6100 0128 bsr +0x12A /* 000020D0 */
00001FAA 6636 bne +0x38 /* 00001FE2 */
label00001FAC:
00001FAC 4A2E 072B tst.b [A6 + 0x72B]
00001FB0 670C beq +0xE /* 00001FBE */
00001FB2 206E 03EE movea.l A0, [A6 + 0x3EE]
00001FB6 2050 movea.l A0, [A0]
00001FB8 4868 0008 pea.l [A0 + 0x8]
00001FBC A92A syscall ValidRect
label00001FBE:
00001FBE 2F0B move.l -[A7], A3
00001FC0 A922 syscall BeginUpdate
00001FC2 2F0B move.l -[A7], A3
00001FC4 A981 syscall DrawDialog
00001FC6 2F0B move.l -[A7], A3
00001FC8 A923 syscall EndUpdate
00001FCA 4A2E 072B tst.b [A6 + 0x72B]
00001FCE 6704 beq +0x6 /* 00001FD4 */
00001FD0 6100 0482 bsr +0x484 /* 00002454 */
label00001FD4:
00001FD4 206C 0008 movea.l A0, [A4 + 0x8]
00001FD8 30BC 0064 move.w [A0], 0x64 /* 'd' */
00001FDC 197C 0001 0014 move.b [A4 + 0x14], 0x1
label00001FE2:
00001FE2 A873 syscall SetPort
label00001FE4:
00001FE4 265F movea.l A3, [A7]+
00001FE6 6000 009A bra +0x9C /* 00002082 */
label00001FEA:
00001FEA 607C bra +0x7E /* 00002068 */
label00001FEC:
00001FEC 206A 0002 movea.l A0, [A2 + 0x2]
00001FF0 0CA8 7374 6466 0098 cmpi.l [A0 + 0x98], 0x73746466 /* 'stdf' */
00001FF8 66F0 bne -0xE /* 00001FEA */
00001FFA 2F0B move.l -[A7], A3
00001FFC 594F subq.w A7, 4
00001FFE 4857 pea.l [A7]
00002000 A874 syscall GetPort
00002002 47D6 lea.l A3, [A6]
00002004 2F0B move.l -[A7], A3
00002006 A873 syscall SetPort
00002008 302A 000E move.w D0, [A2 + 0xE]
0000200C 0800 0000 btst.b D0, 0x0
00002010 56C0 sne D0
00002012 1F00 move.b -[A7], D0
00002014 2F0B move.l -[A7], A3
00002016 3F2E 04EA move.w -[A7], [A6 + 0x4EA]
0000201A 1F00 move.b -[A7], D0
0000201C 6100 0226 bsr +0x228 /* 00002244 */
00002020 101F move.b D0, [A7]+
00002022 6622 bne +0x24 /* 00002046 */
00002024 206E 04B8 movea.l A0, [A6 + 0x4B8]
00002028 6112 bsr +0x14 /* 0000203C */
0000202A 206E 04BC movea.l A0, [A6 + 0x4BC]
0000202E 610C bsr +0xE /* 0000203C */
00002030 202E 04C0 move.l D0, [A6 + 0x4C0]
00002034 6710 beq +0x12 /* 00002046 */
00002036 2040 movea.l A0, D0
00002038 6102 bsr +0x4 /* 0000203C */
0000203A 600A bra +0xC /* 00002046 */
fn0000203C:
0000203C 2F08 move.l -[A7], A0
0000203E 3F3C 00FF move.w -[A7], 0xFF
00002042 A95D syscall HiliteControl
00002044 4E75 rts
label00002046:
00002046 A873 syscall SetPort
00002048 265F movea.l A3, [A7]+
label0000204A:
0000204A 7064 moveq.l D0, 0x64
0000204C 600E bra +0x10 /* 0000205C */
0000204E 302B 00A8 move.w D0, [A3 + 0xA8]
label00002052:
00002052 6100 0154 bsr +0x156 /* 000021A8 */
00002056 6BF2 bmi -0xC /* 0000204A */
00002058 6100 0188 bsr +0x18A /* 000021E2 */
label0000205C:
0000205C 206C 0008 movea.l A0, [A4 + 0x8]
00002060 3080 move.w [A0], D0
00002062 197C 0001 0014 move.b [A4 + 0x14], 0x1
label00002068:
00002068 3D6A 000E 04D8 move.w [A6 + 0x4D8], [A2 + 0xE]
0000206E 2D6A 0006 04DA move.l [A6 + 0x4DA], [A2 + 0x6]
00002074 4A2E 04A6 tst.b [A6 + 0x4A6]
00002078 6608 bne +0xA /* 00002082 */
0000207A 4A6C FFF4 tst.w [A4 - 0xC]
0000207E 6602 bne +0x4 /* 00002082 */
00002080 614E bsr +0x50 /* 000020D0 */
label00002082:
00002082 4A2C 0014 tst.b [A4 + 0x14]
00002086 6612 bne +0x14 /* 0000209A */
00002088 0C52 0006 cmpi.w [A2], 0x6
0000208C 660C bne +0xE /* 0000209A */
0000208E B7EA 0002 cmpa.l A3, [A2 + 0x2]
00002092 6706 beq +0x8 /* 0000209A */
00002094 4252 clr.w [A2]
00002096 6110 bsr +0x12 /* 000020A8 */
00002098 60B0 bra -0x4E /* 0000204A */
label0000209A:
0000209A 4CDF 4C18 movem.l D3,D4,A2,A3,A6, [A7]+
0000209E 4E5C unlink A4
000020A0 205F movea.l A0, [A7]+
000020A2 4FEF 000C lea.l A7, [A7 + 0xC]
000020A6 4ED0 jmp [A0]
fn000020A8:
000020A8 5D8F subq.l A7, 6
000020AA 486F 0002 pea.l [A7 + 0x2]
000020AE 303C 0203 move.w D0, 0x203
000020B2 AA68 syscall DialogDispatch
000020B4 4A5F tst.w [A7]+
000020B6 6706 beq +0x8 /* 000020BE */
000020B8 584F addq.w A7, 4
000020BA 7000 moveq.l D0, 0x00
000020BC 6010 bra +0x12 /* 000020CE */
label000020BE:
000020BE 205F movea.l A0, [A7]+
000020C0 554F subq.w A7, 2
000020C2 2F0B move.l -[A7], A3
000020C4 2F0A move.l -[A7], A2
000020C6 2F2C 0008 move.l -[A7], [A4 + 0x8]
000020CA 4E90 jsr [A0]
000020CC 101F move.b D0, [A7]+
label000020CE:
000020CE 4E75 rts
fn000020D0:
000020D0 50EC FFF4 st [A4 - 0xC]
000020D4 202E 017A move.l D0, [A6 + 0x17A]
000020D8 672A beq +0x2C /* 00002104 */
000020DA 41D6 lea.l A0, [A6]
000020DC B7C8 cmpa.l A3, A0
000020DE 6706 beq +0x8 /* 000020E6 */
000020E0 4A2E 04A6 tst.b [A6 + 0x4A6]
000020E4 671E beq +0x20 /* 00002104 */
label000020E6:
000020E6 2040 movea.l A0, D0
000020E8 4267 clr.w -[A7]
000020EA 2F0B move.l -[A7], A3
000020EC 2F0A move.l -[A7], A2
000020EE 2F2C 0008 move.l -[A7], [A4 + 0x8]
000020F2 4A2E 04A7 tst.b [A6 + 0x4A7]
000020F6 6704 beq +0x6 /* 000020FC */
000020F8 2F2E 0186 move.l -[A7], [A6 + 0x186]
label000020FC:
000020FC 4E90 jsr [A0]
000020FE 101F move.b D0, [A7]+
00002100 812C 0014 or.b [A4 + 0x14], D0
label00002104:
00002104 4E75 rts
fn00002106:
00002106 594F subq.w A7, 4
00002108 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
0000210C 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00002112 486E 0316 pea.l [A6 + 0x316]
00002116 A9FD syscall GetScrap
00002118 201F move.l D0, [A7]+
0000211A 6A04 bpl +0x6 /* 00002120 */
0000211C 4278 0AB0 clr.w [0x00000AB0 /* TEScrpLength */]
label00002120:
00002120 6700 0084 beq +0x86 /* 000021A6 */
00002124 0C80 0000 001F cmpi.l D0, 0x1F
0000212A 6F02 ble +0x4 /* 0000212E */
0000212C 701F moveq.l D0, 0x1F
label0000212E:
0000212E 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
00002132 226B 00A0 movea.l A1, [A3 + 0xA0]
00002136 2251 movea.l A1, [A1]
00002138 D069 0020 add.w D0, [A1 + 0x20]
0000213C 0C40 001F cmpi.w D0, 0x1F
00002140 6F12 ble +0x14 /* 00002154 */
00002142 303C 001F move.w D0, 0x1F
00002146 9069 0020 sub.w D0, [A1 + 0x20]
0000214A 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
0000214E 3029 0020 move.w D0, [A1 + 0x20]
00002152 601E bra +0x20 /* 00002172 */
label00002154:
00002154 D069 003C add.w D0, [A1 + 0x3C]
00002158 9069 0022 sub.w D0, [A1 + 0x22]
0000215C 0C40 001F cmpi.w D0, 0x1F
00002160 6F1A ble +0x1C /* 0000217C */
00002162 303C 001F move.w D0, 0x1F
00002166 9078 0AB0 sub.w D0, [0x00000AB0 /* TEScrpLength */]
0000216A D069 0022 add.w D0, [A1 + 0x22]
0000216E 9069 0020 sub.w D0, [A1 + 0x20]
label00002172:
00002172 3340 003C move.w [A1 + 0x3C], D0
00002176 2069 003E movea.l A0, [A1 + 0x3E]
0000217A A024 syscall SetHandleSize
label0000217C:
0000217C 3038 0AB0 move.w D0, [0x00000AB0 /* TEScrpLength */]
00002180 4A40 tst.w D0
00002182 6722 beq +0x24 /* 000021A6 */
00002184 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00002188 2050 movea.l A0, [A0]
label0000218A:
0000218A 0C10 000D cmpi.b [A0], 0xD /* '\r' */
0000218E 6706 beq +0x8 /* 00002196 */
00002190 0C10 003A cmpi.b [A0], 0x3A /* ':' */
00002194 6604 bne +0x6 /* 0000219A */
label00002196:
00002196 10BC 002D move.b [A0], 0x2D /* '-' */
label0000219A:
0000219A 5248 addq.w A0, 1
0000219C 5340 subq.w D0, 1
0000219E 6EEA bgt -0x14 /* 0000218A */
000021A0 2F2B 00A0 move.l -[A7], [A3 + 0xA0]
000021A4 A9DB syscall TEPaste
label000021A6:
000021A6 4E75 rts
fn000021A8:
000021A8 3F00 move.w -[A7], D0
000021AA 610E bsr +0x10 /* 000021BA */
000021AC 206E 0208 movea.l A0, [A6 + 0x208]
000021B0 2050 movea.l A0, [A0]
000021B2 301F move.w D0, [A7]+
000021B4 4A28 0011 tst.b [A0 + 0x11]
000021B8 4E75 rts
fn000021BA:
000021BA 2F0B move.l -[A7], A3
000021BC 3F00 move.w -[A7], D0
000021BE 486E 0214 pea.l [A6 + 0x214]
000021C2 486E 0208 pea.l [A6 + 0x208]
000021C6 486E 020C pea.l [A6 + 0x20C]
000021CA A98D syscall GetDialogItem/GetDItem
000021CC 4E75 rts
000021CE 2F0B move.l -[A7], A3
000021D0 3F00 move.w -[A7], D0
000021D2 3F2E 0214 move.w -[A7], [A6 + 0x214]
000021D6 2F2E 0208 move.l -[A7], [A6 + 0x208]
000021DA 486E 020C pea.l [A6 + 0x20C]
000021DE A98E syscall SetDialogItem/SetDItem
000021E0 4E75 rts
fn000021E2:
000021E2 3F00 move.w -[A7], D0
000021E4 61D4 bsr -0x2A /* 000021BA */
000021E6 2F2E 0208 move.l -[A7], [A6 + 0x208]
000021EA 3F3C 0001 move.w -[A7], 0x1
000021EE A95D syscall HiliteControl
000021F0 307C 0008 movea.w A0, 0x8
000021F4 A03B syscall Delay
000021F6 2F2E 0208 move.l -[A7], [A6 + 0x208]
000021FA 4267 clr.w -[A7]
000021FC A95D syscall HiliteControl
000021FE 301F move.w D0, [A7]+
00002200 4E75 rts
fn00002202:
00002202 206E 017E movea.l A0, [A6 + 0x17E]
00002206 0C50 0001 cmpi.w [A0], 0x1
0000220A 6F36 ble +0x38 /* 00002242 */
0000220C 1F00 move.b -[A7], D0
0000220E A89E syscall PenNormal
00002210 4A1F tst.b [A7]+
00002212 6606 bne +0x8 /* 0000221A */
00002214 3F3C 000C move.w -[A7], 0xC
00002218 A89C syscall PenMode
label0000221A:
0000221A 2D6E 03DE 020C move.l [A6 + 0x20C], [A6 + 0x3DE]
00002220 2D6E 03E2 0210 move.l [A6 + 0x210], [A6 + 0x3E2]
00002226 486E 020C pea.l [A6 + 0x20C]
0000222A 2F3C FFFD FFFD move.l -[A7], 0xFFFDFFFD
00002230 A8A9 syscall InsetRect
00002232 2F3C 0002 0002 move.l -[A7], 0x20002
00002238 A89B syscall PenSize
0000223A 486E 020C pea.l [A6 + 0x20C]
0000223E A8A1 syscall FrameRect
00002240 A89E syscall PenNormal
label00002242:
00002242 4E75 rts
fn00002244:
00002244 302F 0006 move.w D0, [A7 + 0x6]
00002248 6100 FF70 bsr -0x8E /* 000021BA */
0000224C 302E 0214 move.w D0, [A6 + 0x214]
00002250 0800 0004 btst.b D0, 0x4
00002254 6700 00B4 beq +0xB6 /* 0000230A */
00002258 302E 020E move.w D0, [A6 + 0x20E]
0000225C 0C40 2000 cmpi.w D0, 0x2000 /* ' \0' */
00002260 6E00 00A6 bgt +0xA8 /* 00002308 */
00002264 700A moveq.l D0, 0x0A
00002266 6100 E592 bsr -0x1A6C /* 000007FA */
0000226A B06F 0006 cmp.w D0, [A7 + 0x6]
0000226E 56C2 sne D2
00002270 206B 00A0 movea.l A0, [A3 + 0xA0]
00002274 2250 movea.l A1, [A0]
00002276 2609 move.l D3, A1
00002278 4A2F 0004 tst.b [A7 + 0x4]
0000227C 56EE 056C sne [A6 + 0x56C]
00002280 6622 bne +0x24 /* 000022A4 */
00002282 2F29 0008 move.l -[A7], [A1 + 0x8]
00002286 2F11 move.l -[A7], [A1]
00002288 486F 0004 pea.l [A7 + 0x4]
0000228C A87F syscall SubPt
0000228E 2F2B 00A0 move.l -[A7], [A3 + 0xA0]
00002292 A9DD syscall TEScroll
00002294 2F2B 00A0 move.l -[A7], [A3 + 0xA0]
00002298 A9D9 syscall TEDeactivate
0000229A 377C FFFF 00A4 move.w [A3 + 0xA4], 0xFFFF
000022A0 6000 0068 bra +0x6A /* 0000230A */
label000022A4:
000022A4 236E 0208 003E move.l [A1 + 0x3E], [A6 + 0x208]
000022AA 41D1 lea.l A0, [A1]
000022AC 20EE 020C move.l [A0]+, [A6 + 0x20C]
000022B0 20EE 0210 move.l [A0]+, [A6 + 0x210]
000022B4 4A78 0BAC tst.w [0x00000BAC /* TESysJust */]
000022B8 6B0A bmi +0xC /* 000022C4 */
000022BA 4A02 tst.b D2
000022BC 6606 bne +0x8 /* 000022C4 */
000022BE 0669 0100 0006 addi.w [A1 + 0x6], 0x100
label000022C4:
000022C4 20EE 020C move.l [A0]+, [A6 + 0x20C]
000022C8 20EE 0210 move.l [A0]+, [A6 + 0x210]
000022CC 50E9 0032 st [A1 + 0x32]
000022D0 2F2B 00A0 move.l -[A7], [A3 + 0xA0]
000022D4 A9D8 syscall TEActivate
000022D6 0C52 0001 cmpi.w [A2], 0x1
000022DA 670E beq +0x10 /* 000022EA */
000022DC 42A7 clr.l -[A7]
000022DE 2F3C 0000 7FFF move.l -[A7], 0x7FFF
000022E4 2F2B 00A0 move.l -[A7], [A3 + 0xA0]
000022E8 A9D1 syscall TESetSelect
label000022EA:
000022EA 302F 0006 move.w D0, [A7 + 0x6]
000022EE 5340 subq.w D0, 1
000022F0 3740 00A4 move.w [A3 + 0xA4], D0
000022F4 4A2E 04A4 tst.b [A6 + 0x4A4]
000022F8 660E bne +0x10 /* 00002308 */
000022FA 2243 movea.l A1, D3
000022FC 4240 clr.w D0
000022FE 4A02 tst.b D2
00002300 6602 bne +0x4 /* 00002304 */
00002302 70FF moveq.l D0, 0xFFFFFFFF
label00002304:
00002304 3340 0048 move.w [A1 + 0x48], D0
label00002308:
00002308 6046 bra +0x48 /* 00002350 */
label0000230A:
0000230A 7007 moveq.l D0, 0x07
0000230C 6100 E4EC bsr -0x1B12 /* 000007FA */
00002310 B06F 0006 cmp.w D0, [A7 + 0x6]
00002314 663A bne +0x3C /* 00002350 */
00002316 102F 0004 move.b D0, [A7 + 0x4]
0000231A B02E 056B cmp.b D0, [A6 + 0x56B]
0000231E 6730 beq +0x32 /* 00002350 */
00002320 1D40 056B move.b [A6 + 0x56B], D0
00002324 6100 FEDC bsr -0x122 /* 00002202 */
00002328 4A2F 0004 tst.b [A7 + 0x4]
0000232C 670A beq +0xC /* 00002338 */
0000232E 202E 0458 move.l D0, [A6 + 0x458]
00002332 6B1C bmi +0x1E /* 00002350 */
00002334 50E7 st -[A7]
00002336 600C bra +0xE /* 00002344 */
label00002338:
00002338 6100 11C0 bsr +0x11C2 /* 000034FA */
0000233C 2D40 0458 move.l [A6 + 0x458], D0
00002340 6B0E bmi +0x10 /* 00002350 */
00002342 4227 clr.b -[A7]
label00002344:
00002344 2F00 move.l -[A7], D0
00002346 2F2E 04AC move.l -[A7], [A6 + 0x4AC]
0000234A 3F3C 005C move.w -[A7], 0x5C /* '\\' */
0000234E A9E7 syscall Pack0/ListManager
label00002350:
00002350 206E 0182 movea.l A0, [A6 + 0x182]
00002354 2008 move.l D0, A0
00002356 670A beq +0xC /* 00002362 */
00002358 2F17 move.l -[A7], [A7]
0000235A 2F6E 0186 0004 move.l [A7 + 0x4], [A6 + 0x186]
00002360 4ED0 jmp [A0]
label00002362:
00002362 2E9F move.l [A7], [A7]+
00002364 2E9F move.l [A7], [A7]+
00002366 4E75 rts
fn00002368:
00002368 3003 move.w D0, D3
0000236A 6100 FE4E bsr -0x1B0 /* 000021BA */
0000236E 2F0B move.l -[A7], A3
00002370 3F03 move.w -[A7], D3
00002372 3F2E 0214 move.w -[A7], [A6 + 0x214]
00002376 487A 006C pea.l [PC + 0x6C /* 000023E4, value 0x48E73F3E */]
0000237A 486E 020C pea.l [A6 + 0x20C]
0000237E A98E syscall SetDialogItem/SetDItem
00002380 4E75 rts
fn00002382:
00002382 6100 FE36 bsr -0x1C8 /* 000021BA */
00002386 2F2E 0208 move.l -[A7], [A6 + 0x208]
0000238A 2F0A move.l -[A7], A2
0000238C A98F syscall SetDialogItemText/SetIText
0000238E 4E75 rts
fn00002390:
00002390 4E56 0000 link A6, 0
00002394 48E7 3F38 movem.l -[A7], D2,D3,D4,D5,D6,D7,A2,A3,A4
00002398 206E 0008 movea.l A0, [A6 + 0x8]
0000239C 2018 move.l D0, [A0]+
0000239E 2618 move.l D3, [A0]+
000023A0 9640 sub.w D3, D0
000023A2 966E 0010 sub.w D3, [A6 + 0x10]
000023A6 266E 000C movea.l A3, [A6 + 0xC]
000023AA 554F subq.w A7, 2
000023AC 2F0B move.l -[A7], A3
000023AE A88C syscall StringWidth
000023B0 B65F cmp.w D3, [A7]+
000023B2 6E22 bgt +0x24 /* 000023D6 */
000023B4 206E 0012 movea.l A0, [A6 + 0x12]
000023B8 08E8 0005 0001 bset.b [A0 + 0x1], 0x5
000023BE 3F10 move.w -[A7], [A0]
000023C0 A888 syscall TextFace
000023C2 554F subq.w A7, 2
000023C4 3F03 move.w -[A7], D3
000023C6 2F2E 000C move.l -[A7], [A6 + 0xC]
000023CA 4267 clr.w -[A7]
000023CC 2F3C 8208 FFE0 move.l -[A7], 0x8208FFE0
000023D2 A8B5 syscall ScriptUtil
000023D4 544F addq.w A7, 2
label000023D6:
000023D6 4CDF 1CFC movem.l D2,D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000023DA 4E5E unlink A6
000023DC 205F movea.l A0, [A7]+
000023DE 4FEF 000E lea.l A7, [A7 + 0xE]
000023E2 4ED0 jmp [A0]
000023E4 48E7 3F3E movem.l -[A7], D2,D3,D4,D5,D6,D7,A2,A3,A4,A5,A6
000023E8 3E2F 0030 move.w D7, [A7 + 0x30]
000023EC 266F 0032 movea.l A3, [A7 + 0x32]
000023F0 4DD3 lea.l A6, [A3]
000023F2 7004 moveq.l D0, 0x04
000023F4 6100 E404 bsr -0x1BFA /* 000007FA */
000023F8 BE40 cmp.w D7, D0
000023FA 6604 bne +0x6 /* 00002400 */
000023FC 6124 bsr +0x26 /* 00002422 */
000023FE 6018 bra +0x1A /* 00002418 */
label00002400:
00002400 7007 moveq.l D0, 0x07
00002402 6100 E3F6 bsr -0x1C08 /* 000007FA */
00002406 BE40 cmp.w D7, D0
00002408 6606 bne +0x8 /* 00002410 */
0000240A 6100 0CC6 bsr +0xCC8 /* 000030D2 */
0000240E 6008 bra +0xA /* 00002418 */
label00002410:
00002410 0C47 0009 cmpi.w D7, 0x9 /* '\t' */
00002414 6602 bne +0x4 /* 00002418 */
00002416 6126 bsr +0x28 /* 0000243E */
label00002418:
00002418 4CDF 7CFC movem.l D2,D3,D4,D5,D6,D7,A2,A3,A4,A5,A6, [A7]+
0000241C 205F movea.l A0, [A7]+
0000241E 5C8F addq.l A7, 6
00002420 4ED0 jmp [A0]
fn00002422:
00002422 2F0B move.l -[A7], A3
00002424 45EE 03E6 lea.l A2, [A6 + 0x3E6]
00002428 2F0A move.l -[A7], A2
0000242A A8A3 syscall EraseRect
0000242C 47EE 0372 lea.l A3, [A6 + 0x372]
00002430 3E2E 03BA move.w D7, [A6 + 0x3BA]
00002434 7600 moveq.l D3, 0x00
00002436 6100 005C bsr +0x5E /* 00002494 */
0000243A 265F movea.l A3, [A7]+
0000243C 4E75 rts
fn0000243E:
0000243E 7009 moveq.l D0, 0x09
00002440 6100 FD78 bsr -0x286 /* 000021BA */
00002444 486E 020C pea.l [A6 + 0x20C]
00002448 A89E syscall PenNormal
0000244A A8A1 syscall FrameRect
0000244C 4E75 rts
fn0000244E:
0000244E 4A2E 056E tst.b [A6 + 0x56E]
00002452 661A bne +0x1C /* 0000246E */
fn00002454:
00002454 2F2E 03EE move.l -[A7], [A6 + 0x3EE]
00002458 6100 E6A2 bsr -0x195C /* 00000AFC */
0000245C A96D syscall Draw1Control
0000245E 6100 E6AA bsr -0x1954 /* 00000B0A */
00002462 206E 03EE movea.l A0, [A6 + 0x3EE]
00002466 2050 movea.l A0, [A0]
00002468 4868 0008 pea.l [A0 + 0x8]
0000246C A92A syscall ValidRect
label0000246E:
0000246E 51EE 056E sf [A6 + 0x56E]
00002472 4E75 rts
fn00002474:
00002474 3828 0006 move.w D4, [A0 + 0x6]
00002478 9868 0002 sub.w D4, [A0 + 0x2]
0000247C 0444 0013 subi.w D4, 0x13
00002480 9843 sub.w D4, D3
00002482 9843 sub.w D4, D3
00002484 558F subq.l A7, 2
00002486 2F09 move.l -[A7], A1
00002488 A88C syscall StringWidth
0000248A 985F sub.w D4, [A7]+
0000248C 6C02 bge +0x4 /* 00002490 */
0000248E 4244 clr.w D4
label00002490:
00002490 E24C lsr D4.w, 1
00002492 4E75 rts
fn00002494:
00002494 204A movea.l A0, A2
00002496 43EB 0008 lea.l A1, [A3 + 0x8]
0000249A 61D8 bsr -0x26 /* 00002474 */
0000249C 3A2E 0400 move.w D5, [A6 + 0x400]
000024A0 4845 swap.w D5
000024A2 3A2E 0408 move.w D5, [A6 + 0x408]
000024A6 206E 04AC movea.l A0, [A6 + 0x4AC]
000024AA 9EFC 0046 sub.w A7, 0x46 /* 'F' */
000024AE 224F movea.l A1, A7
000024B0 2292 move.l [A1], [A2]
000024B2 D969 0002 add.w [A1 + 0x2], D4
000024B6 D769 0002 add.w [A1 + 0x2], D3
000024BA 2211 move.l D1, [A1]
000024BC 3005 move.w D0, D5
000024BE 0440 0010 subi.w D0, 0x10
000024C2 6B08 bmi +0xA /* 000024CC */
000024C4 E240 asr D0.w, 1
000024C6 4841 swap.w D1
000024C8 D240 add.w D1, D0
000024CA 4841 swap.w D1
label000024CC:
000024CC 2F08 move.l -[A7], A0
000024CE 2F01 move.l -[A7], D1
000024D0 206F 0004 movea.l A0, [A7 + 0x4]
000024D4 2217 move.l D1, [A7]
000024D6 3007 move.w D0, D7
000024D8 6100 008C bsr +0x8E /* 00002566 */
000024DC 504F addq.w A7, 8
000024DE 201F move.l D0, [A7]+
000024E0 0640 0013 addi.w D0, 0x13
000024E4 2F00 move.l -[A7], D0
000024E6 2F00 move.l -[A7], D0
000024E8 4845 swap.w D5
000024EA DB57 add.w [A7], D5
000024EC A893 syscall MoveTo
000024EE 41F8 09FA lea.l A0, [0x000009FA /* TempRect/Scratch8 */]
000024F2 209F move.l [A0], [A7]+
000024F4 216A 0004 0004 move.l [A0 + 0x4], [A2 + 0x4]
000024FA 224F movea.l A1, A7
000024FC 41EB 0008 lea.l A0, [A3 + 0x8]
00002500 7000 moveq.l D0, 0x00
00002502 1010 move.b D0, [A0]
00002504 5200 addq.b D0, 1
00002506 A22E syscall BlockMove/BlockMoveData, flags=2
00002508 302B 0002 move.w D0, [A3 + 0x2]
0000250C B06B 0538 cmp.w D0, [A3 + 0x538]
00002510 6706 beq +0x8 /* 00002518 */
00002512 3F00 move.w -[A7], D0
00002514 A887 syscall TextFont
00002516 6008 bra +0xA /* 00002520 */
label00002518:
00002518 4267 clr.w -[A7]
0000251A A887 syscall TextFont
0000251C 4267 clr.w -[A7]
0000251E A88A syscall TextSize
label00002520:
00002520 102B 0005 move.b D0, [A3 + 0x5]
00002524 6704 beq +0x6 /* 0000252A */
00002526 1F00 move.b -[A7], D0
00002528 A888 syscall TextFace
label0000252A:
0000252A 4267 clr.w -[A7]
0000252C 1F6B 0005 0001 move.b [A7 + 0x1], [A3 + 0x5]
00002532 2F0F move.l -[A7], A7
00002534 3F3C 0002 move.w -[A7], 0x2
00002538 486F 0008 pea.l [A7 + 0x8]
0000253C 4878 09FA push.l 0x9FA
00002540 6100 FE4E bsr -0x1B0 /* 00002390 */
00002544 486F 0002 pea.l [A7 + 0x2]
00002548 A884 syscall DrawString
0000254A 301F move.w D0, [A7]+
0000254C 6704 beq +0x6 /* 00002552 */
0000254E 4267 clr.w -[A7]
00002550 A888 syscall TextFace
label00002552:
00002552 4FEF 0042 lea.l A7, [A7 + 0x42]
00002556 302B 0002 move.w D0, [A3 + 0x2]
0000255A B06B 0538 cmp.w D0, [A3 + 0x538]
0000255E 6704 beq +0x6 /* 00002564 */
00002560 4267 clr.w -[A7]
00002562 A887 syscall TextFont
label00002564:
00002564 4E75 rts
fn00002566:
00002566 43F8 0A0E lea.l A1, [0x00000A0E /* IconBitmap */]
0000256A 337C 0002 0004 move.w [A1 + 0x4], 0x2
00002570 42A9 0006 clr.l [A1 + 0x6]
00002574 237C 0010 0010 000A move.l [A1 + 0xA], 0x100010
0000257C 594F subq.w A7, 4
0000257E 2F3C 5349 434E move.l -[A7], 0x5349434E /* 'SICN' */
00002584 3F00 move.w -[A7], D0
00002586 A9A0 syscall GetResource
00002588 201F move.l D0, [A7]+
0000258A 6730 beq +0x32 /* 000025BC */
0000258C 2040 movea.l A0, D0
0000258E 2290 move.l [A1], [A0]
00002590 2F09 move.l -[A7], A1
00002592 2055 movea.l A0, [A5]
00002594 2050 movea.l A0, [A0]
00002596 4868 0002 pea.l [A0 + 0x2]
0000259A 4869 0006 pea.l [A1 + 0x6]
0000259E 41F8 01E4 lea.l A0, [0x000001E4 /* GetParam/Scratch20 */]
000025A2 2F08 move.l -[A7], A0
000025A4 20C1 move.l [A0]+, D1
000025A6 30A8 FFFC move.w [A0], [A0 - 0x4]
000025AA 0658 0010 addi.w [A0]+, 0x10
000025AE 30A8 FFFC move.w [A0], [A0 - 0x4]
000025B2 0650 0010 addi.w [A0], 0x10
000025B6 4267 clr.w -[A7]
000025B8 42A7 clr.l -[A7]
000025BA A8EC syscall CopyBits
label000025BC:
000025BC 4E75 rts
000025BE 302E 0204 move.w D0, [A6 + 0x204]
000025C2 0C40 FFFF cmpi.w D0, 0xFFFF
000025C6 663E bne +0x40 /* 00002606 */
000025C8 2F0B move.l -[A7], A3
000025CA 1F3C 0002 move.b -[A7], 0x2
000025CE 1F3C 0001 move.b -[A7], 0x1
000025D2 1F3C 0001 move.b -[A7], 0x1
000025D6 7009 moveq.l D0, 0x09
000025D8 A829 syscall LayerDispatch
000025DA 7001 moveq.l D0, 0x01
000025DC 0CAB 7270 6C63 0098 cmpi.l [A3 + 0x98], 0x72706C63 /* 'rplc' */
000025E4 670A beq +0xC /* 000025F0 */
000025E6 0CAB 7374 6174 0098 cmpi.l [A3 + 0x98], 0x73746174 /* 'stat' */
000025EE 6602 bne +0x4 /* 000025F2 */
label000025F0:
000025F0 7002 moveq.l D0, 0x02
label000025F2:
000025F2 7202 moveq.l D1, 0x02
000025F4 0CAB 6572 7220 0098 cmpi.l [A3 + 0x98], 0x65727220 /* 'err ' */
000025FC 6602 bne +0x4 /* 00002600 */
000025FE 7201 moveq.l D1, 0x01
label00002600:
00002600 50C2 st D2
00002602 6100 01A6 bsr +0x1A8 /* 000027AA */
label00002606:
00002606 0C40 0001 cmpi.w D0, 0x1
0000260A 6706 beq +0x8 /* 00002612 */
0000260C 0C40 0002 cmpi.w D0, 0x2
00002610 6604 bne +0x6 /* 00002616 */
label00002612:
00002612 50EE 056A st [A6 + 0x56A]
label00002616:
00002616 4E75 rts
fn00002618:
00002618 2F09 move.l -[A7], A1
0000261A 3F01 move.w -[A7], D1
0000261C 554F subq.w A7, 2
0000261E A994 syscall CurResFile
00002620 4267 clr.w -[A7]
00002622 A998 syscall UseResFile
00002624 322F 0002 move.w D1, [A7 + 0x2]
00002628 226F 0004 movea.l A1, [A7 + 0x4]
0000262C 6106 bsr +0x8 /* 00002634 */
0000262E A998 syscall UseResFile
00002630 5C4F addq.w A7, 6
00002632 4E75 rts
fn00002634:
00002634 303C E862 move.w D0, 0xE862
00002638 4211 clr.b [A1]
0000263A 594F subq.w A7, 4
0000263C 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00002642 3F00 move.w -[A7], D0
00002644 A9A0 syscall GetResource
00002646 201F move.l D0, [A7]+
00002648 6718 beq +0x1A /* 00002662 */
0000264A 2040 movea.l A0, D0
0000264C 2050 movea.l A0, [A0]
0000264E 3018 move.w D0, [A0]+
00002650 7000 moveq.l D0, 0x00
label00002652:
00002652 5341 subq.w D1, 1
00002654 6706 beq +0x8 /* 0000265C */
00002656 1018 move.b D0, [A0]+
00002658 D0C0 add.w A0, D0
0000265A 60F6 bra -0x8 /* 00002652 */
label0000265C:
0000265C 7001 moveq.l D0, 0x01
0000265E D010 add.b D0, [A0]
00002660 A22E syscall BlockMove/BlockMoveData, flags=2
label00002662:
00002662 4E75 rts
fn00002664:
00002664 383C E864 move.w D4, 0xE864
00002668 263C 6572 7220 move.l D3, 0x65727220 /* 'err ' */
0000266E 43EE 0216 lea.l A1, [A6 + 0x216]
00002672 61C0 bsr -0x3E /* 00002634 */
fn00002674:
00002674 2F09 move.l -[A7], A1
00002676 42A7 clr.l -[A7]
00002678 42A7 clr.l -[A7]
0000267A 42A7 clr.l -[A7]
0000267C A98B syscall ParamText
0000267E 3004 move.w D0, D4
00002680 6102 bsr +0x4 /* 00002684 */
00002682 4E75 rts
fn00002684:
00002684 422E 056A clr.b [A6 + 0x56A]
00002688 47EE 00AA lea.l A3, [A6 + 0xAA]
0000268C 6130 bsr +0x32 /* 000026BE */
0000268E 4A80 tst.l D0
00002690 662A bne +0x2C /* 000026BC */
label00002692:
00002692 4A2E 056A tst.b [A6 + 0x56A]
00002696 660E bne +0x10 /* 000026A6 */
00002698 6100 EEAE bsr -0x1150 /* 00001548 */
0000269C 6100 00D4 bsr +0xD6 /* 00002772 */
000026A0 6100 00AC bsr +0xAE /* 0000274E */
000026A4 60EC bra -0x12 /* 00002692 */
label000026A6:
000026A6 3F2E 0204 move.w -[A7], [A6 + 0x204]
000026AA 6100 0078 bsr +0x7A /* 00002724 */
000026AE 3D5F 0204 move.w [A6 + 0x204], [A7]+
000026B2 47D6 lea.l A3, [A6]
000026B4 2F0B move.l -[A7], A3
000026B6 A873 syscall SetPort
000026B8 302E 0204 move.w D0, [A6 + 0x204]
label000026BC:
000026BC 4E75 rts
fn000026BE:
000026BE 594F subq.w A7, 4
000026C0 3F00 move.w -[A7], D0
000026C2 2F0B move.l -[A7], A3
000026C4 70FF moveq.l D0, 0xFFFFFFFF
000026C6 2F00 move.l -[A7], D0
000026C8 A97C syscall GetNewDialog
000026CA 4A9F tst.l [A7]+
000026CC 6608 bne +0xA /* 000026D6 */
000026CE 203C 4445 4144 move.l D0, 0x44454144 /* 'DEAD' */
000026D4 604C bra +0x4E /* 00002722 */
label000026D6:
000026D6 2743 0098 move.l [A3 + 0x98], D3
000026DA 2F0B move.l -[A7], A3
000026DC A873 syscall SetPort
000026DE 222B 00A0 move.l D1, [A3 + 0xA0]
000026E2 670A beq +0xC /* 000026EE */
000026E4 2041 movea.l A0, D1
000026E6 2050 movea.l A0, [A0]
000026E8 316E 0726 004A move.w [A0 + 0x4A], [A6 + 0x726]
label000026EE:
000026EE 3D7C FFFF 0204 move.w [A6 + 0x204], 0xFFFF
000026F4 6158 bsr +0x5A /* 0000274E */
000026F6 6100 007A bsr +0x7C /* 00002772 */
000026FA 0CAB 7374 6466 0098 cmpi.l [A3 + 0x98], 0x73746466 /* 'stdf' */
00002702 6714 beq +0x16 /* 00002718 */
00002704 0C6E FFFF 0204 cmpi.w [A6 + 0x204], 0xFFFF
0000270A 6710 beq +0x12 /* 0000271C */
0000270C 6100 0040 bsr +0x42 /* 0000274E */
00002710 4A2E 056A tst.b [A6 + 0x56A]
00002714 660A bne +0xC /* 00002720 */
00002716 6004 bra +0x6 /* 0000271C */
label00002718:
00002718 6100 E348 bsr -0x1CB6 /* 00000A62 */
label0000271C:
0000271C 2F0B move.l -[A7], A3
0000271E A915 syscall ShowWindow
label00002720:
00002720 7000 moveq.l D0, 0x00
label00002722:
00002722 4E75 rts
fn00002724:
00002724 2F0B move.l -[A7], A3
00002726 A916 syscall HideWindow
00002728 3D7C FFFE 0204 move.w [A6 + 0x204], 0xFFFE
0000272E 4A2E 04A6 tst.b [A6 + 0x4A6]
00002732 6702 beq +0x4 /* 00002736 */
00002734 613C bsr +0x3E /* 00002772 */
label00002736:
00002736 3D7C FFFE 0204 move.w [A6 + 0x204], 0xFFFE
0000273C 6110 bsr +0x12 /* 0000274E */
0000273E 2F0B move.l -[A7], A3
00002740 A982 syscall CloseDialog
00002742 206B 009C movea.l A0, [A3 + 0x9C]
00002746 A023 syscall DisposHandle/DisposeHandle
00002748 6100 F4DE bsr -0xB20 /* 00001C28 */
0000274C 4E75 rts
fn0000274E:
0000274E 222B 0098 move.l D1, [A3 + 0x98]
00002752 41FA E0B6 lea.l A0, [PC - 0x1F4A /* 0000080A, value 0x302E0204 */]
00002756 0C81 7374 6466 cmpi.l D1, 0x73746466 /* 'stdf' */
0000275C 6710 beq +0x12 /* 0000276E */
0000275E 41FA E780 lea.l A0, [PC - 0x1880 /* 00000EE0, value 0x302E0204 */]
00002762 0C81 6E66 6472 cmpi.l D1, 0x6E666472 /* 'nfdr' */
00002768 6704 beq +0x6 /* 0000276E */
0000276A 41FA FE52 lea.l A0, [PC - 0x1AE /* 000025BE, value 0x302E0204 */]
label0000276E:
0000276E 4E90 jsr [A0]
00002770 4E75 rts
fn00002772:
00002772 202E 0170 move.l D0, [A6 + 0x170]
00002776 6730 beq +0x32 /* 000027A8 */
00002778 41D6 lea.l A0, [A6]
0000277A B7C8 cmpa.l A3, A0
0000277C 6706 beq +0x8 /* 00002784 */
0000277E 4A2E 04A6 tst.b [A6 + 0x4A6]
00002782 6724 beq +0x26 /* 000027A8 */
label00002784:
00002784 554F subq.w A7, 2
00002786 3F2E 0204 move.w -[A7], [A6 + 0x204]
0000278A 2F0B move.l -[A7], A3
0000278C 4A2E 04A7 tst.b [A6 + 0x4A7]
00002790 6704 beq +0x6 /* 00002796 */
00002792 2F2E 0186 move.l -[A7], [A6 + 0x186]
label00002796:
00002796 2040 movea.l A0, D0
00002798 4E90 jsr [A0]
0000279A 301F move.w D0, [A7]+
0000279C B06E 0204 cmp.w D0, [A6 + 0x204]
000027A0 56EE 0206 sne [A6 + 0x206]
000027A4 3D40 0204 move.w [A6 + 0x204], D0
label000027A8:
000027A8 4E75 rts
fn000027AA:
000027AA 1F02 move.b -[A7], D2
000027AC 3F01 move.w -[A7], D1
000027AE 4AAE 04B0 tst.l [A6 + 0x4B0]
000027B2 670E beq +0x10 /* 000027C2 */
000027B4 554F subq.w A7, 2
000027B6 2F0B move.l -[A7], A3
000027B8 3F00 move.w -[A7], D0
000027BA 303C 0304 move.w D0, 0x304
000027BE AA68 syscall DialogDispatch
000027C0 544F addq.w A7, 2
label000027C2:
000027C2 321F move.w D1, [A7]+
000027C4 554F subq.w A7, 2
000027C6 2F0B move.l -[A7], A3
000027C8 3F01 move.w -[A7], D1
000027CA 303C 0305 move.w D0, 0x305
000027CE AA68 syscall DialogDispatch
000027D0 544F addq.w A7, 2
000027D2 141F move.b D2, [A7]+
000027D4 554F subq.w A7, 2
000027D6 2F0B move.l -[A7], A3
000027D8 1F02 move.b -[A7], D2
000027DA 303C 0306 move.w D0, 0x306
000027DE AA68 syscall DialogDispatch
000027E0 544F addq.w A7, 2
000027E2 4E75 rts
fn000027E4:
000027E4 48E7 3E38 movem.l -[A7], D2,D3,D4,D5,D6,A2,A3,A4
000027E8 7001 moveq.l D0, 0x01
000027EA 2D40 0458 move.l [A6 + 0x458], D0
000027EE 266E 04AC movea.l A3, [A6 + 0x4AC]
000027F2 2853 movea.l A4, [A3]
000027F4 286C 0050 movea.l A4, [A4 + 0x50]
000027F8 204B movea.l A0, A3
000027FA 203C 0000 0096 move.l D0, 0x96
00002800 A024 syscall SetHandleSize
00002802 204C movea.l A0, A4
00002804 203C 0000 03FF move.l D0, 0x3FF
0000280A A024 syscall SetHandleSize
0000280C 7C00 moveq.l D6, 0x00
0000280E 4A2E 04A9 tst.b [A6 + 0x4A9]
00002812 6F00 00A0 ble +0xA2 /* 000028B4 */
00002816 41FA 044E lea.l A0, [PC + 0x44E /* 00002C66, value 0x740041EE, cstring "t" */]
0000281A 6100 03DE bsr +0x3E0 /* 00002BFA */
0000281E 7000 moveq.l D0, 0x00
00002820 2053 movea.l A0, [A3]
00002822 3228 004C move.w D1, [A0 + 0x4C]
00002826 3F01 move.w -[A7], D1
00002828 5341 subq.w D1, 1
0000282A 6100 00C0 bsr +0xC2 /* 000028EC */
0000282E 2A3C 6465 736B move.l D5, 0x6465736B /* 'desk' */
00002834 41FA 0402 lea.l A0, [PC + 0x402 /* 00002C38, value 0x302A004E '0*\0N', cstring "0*" */]
00002838 6100 03C0 bsr +0x3C2 /* 00002BFA */
0000283C 301F move.w D0, [A7]+
0000283E 2053 movea.l A0, [A3]
00002840 3228 004C move.w D1, [A0 + 0x4C]
00002844 5341 subq.w D1, 1
00002846 6100 00A4 bsr +0xA6 /* 000028EC */
0000284A 2254 movea.l A1, [A4]
0000284C 43F1 6000 lea.l A1, [A1 + D6.w]
00002850 7002 moveq.l D0, 0x02
00002852 2280 move.l [A1], D0
00002854 2340 000C move.l [A1 + 0xC], D0
00002858 42A9 0004 clr.l [A1 + 0x4]
0000285C 336E 053C 000A move.w [A1 + 0xA], [A6 + 0x53C]
00002862 336E 053E 0008 move.w [A1 + 0x8], [A6 + 0x53E]
00002868 4229 0010 clr.b [A1 + 0x10]
0000286C 08E9 0004 0010 bset.b [A1 + 0x10], 0x4
00002872 137C 0086 0011 move.b [A1 + 0x11], 0x86
00002878 337C F067 0014 move.w [A1 + 0x14], 0xF067
0000287E 6100 0310 bsr +0x312 /* 00002B90 */
00002882 3340 0016 move.w [A1 + 0x16], D0
00002886 4269 0018 clr.w [A1 + 0x18]
0000288A 336E 0536 001A move.w [A1 + 0x1A], [A6 + 0x536]
00002890 336E 0538 001C move.w [A1 + 0x1C], [A6 + 0x538]
00002896 336E 053A 0020 move.w [A1 + 0x20], [A6 + 0x53A]
0000289C 50E9 001E st [A1 + 0x1E]
000028A0 4229 001F clr.b [A1 + 0x1F]
000028A4 43E9 0022 lea.l A1, [A1 + 0x22]
000028A8 7202 moveq.l D1, 0x02
000028AA 6100 FD6C bsr -0x292 /* 00002618 */
000028AE 6100 04CE bsr +0x4D0 /* 00002D7E */
000028B2 601C bra +0x1E /* 000028D0 */
label000028B4:
000028B4 2A2E 03C2 move.l D5, [A6 + 0x3C2]
000028B8 3D6E 03C0 0540 move.w [A6 + 0x540], [A6 + 0x3C0]
000028BE 6100 008C bsr +0x8E /* 0000294C */
000028C2 7000 moveq.l D0, 0x00
000028C4 2053 movea.l A0, [A3]
000028C6 3228 004C move.w D1, [A0 + 0x4C]
000028CA 6704 beq +0x6 /* 000028D0 */
000028CC 5341 subq.w D1, 1
000028CE 611C bsr +0x1E /* 000028EC */
label000028D0:
000028D0 2053 movea.l A0, [A3]
000028D2 3628 004C move.w D3, [A0 + 0x4C]
000028D6 3003 move.w D0, D3
000028D8 6100 11F8 bsr +0x11FA /* 00003AD2 */
000028DC D643 add.w D3, D3
000028DE 3143 0054 move.w [A0 + 0x54], D3
000028E2 3186 3056 move.w [A0 + D3.w + 0x56], D6
000028E6 4CDF 1C7C movem.l D2,D3,D4,D5,D6,A2,A3,A4, [A7]+
000028EA 4E75 rts
fn000028EC:
000028EC 48E7 0038 movem.l -[A7], A2,A3,A4
000028F0 D040 add.w D0, D0
000028F2 3F00 move.w -[A7], D0
000028F4 D241 add.w D1, D1
000028F6 3F01 move.w -[A7], D1
000028F8 204C movea.l A0, A4
000028FA A029 syscall HLock
000028FC 2454 movea.l A2, [A4]
000028FE 204B movea.l A0, A3
00002900 A029 syscall HLock
00002902 2053 movea.l A0, [A3]
00002904 49E8 0056 lea.l A4, [A0 + 0x56]
00002908 6100 0624 bsr +0x626 /* 00002F2E */
0000290C 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00002910 204B movea.l A0, A3
00002912 A02A syscall HUnlock
00002914 204C movea.l A0, A4
00002916 A02A syscall HUnlock
00002918 4E75 rts
fn0000291A:
0000291A 2F08 move.l -[A7], A0
0000291C 206E 055C movea.l A0, [A6 + 0x55C]
00002920 50C2 st D2
00002922 6114 bsr +0x16 /* 00002938 */
00002924 660E bne +0x10 /* 00002934 */
00002926 51C2 sf D2
00002928 206E 0560 movea.l A0, [A6 + 0x560]
0000292C 610A bsr +0xC /* 00002938 */
0000292E 6604 bne +0x6 /* 00002934 */
00002930 303C F060 move.w D0, 0xF060
label00002934:
00002934 205F movea.l A0, [A7]+
00002936 4E75 rts
fn00002938:
00002938 2050 movea.l A0, [A0]
label0000293A:
0000293A 2018 move.l D0, [A0]+
0000293C 670C beq +0xE /* 0000294A */
0000293E B280 cmp.l D1, D0
00002940 6704 beq +0x6 /* 00002946 */
00002942 5848 addq.w A0, 4
00002944 60F4 bra -0xA /* 0000293A */
label00002946:
00002946 2018 move.l D0, [A0]+
00002948 4840 swap.w D0
label0000294A:
0000294A 4E75 rts
fn0000294C:
0000294C 7801 moveq.l D4, 0x01
label0000294E:
0000294E 204C movea.l A0, A4
00002950 A029 syscall HLock
00002952 41EE 018A lea.l A0, [A6 + 0x18A]
00002956 3144 001C move.w [A0 + 0x1C], D4
0000295A 2254 movea.l A1, [A4]
0000295C 43F1 6022 lea.l A1, [A1 + D6.w + 0x22]
00002960 2149 0012 move.l [A0 + 0x12], A1
00002964 2145 0030 move.l [A0 + 0x30], D5
00002968 7009 moveq.l D0, 0x09
0000296A A260 syscall FSDispatch/HFSDispatch, flags=2
0000296C 6B00 01F2 bmi +0x1F4 /* 00002B60 */
00002970 5244 addq.w D4, 1
00002972 2028 0030 move.l D0, [A0 + 0x30]
00002976 B0AE 04E2 cmp.l D0, [A6 + 0x4E2]
0000297A 67D2 beq -0x2C /* 0000294E */
0000297C B0AE 04E6 cmp.l D0, [A6 + 0x4E6]
00002980 67CC beq -0x32 /* 0000294E */
00002982 B0AE 070A cmp.l D0, [A6 + 0x70A]
00002986 67C6 beq -0x38 /* 0000294E */
00002988 2254 movea.l A1, [A4]
0000298A 43F1 6000 lea.l A1, [A1 + D6.w]
0000298E 4229 001E clr.b [A1 + 0x1E]
00002992 42A9 0004 clr.l [A1 + 0x4]
00002996 336E 0540 0008 move.w [A1 + 0x8], [A6 + 0x540]
0000299C 3368 0016 000A move.w [A1 + 0xA], [A0 + 0x16]
000029A2 1368 001E 0010 move.b [A1 + 0x10], [A0 + 0x1E]
000029A8 4229 0011 clr.b [A1 + 0x11]
000029AC 3368 0028 0012 move.w [A1 + 0x12], [A0 + 0x28]
000029B2 6100 01CE bsr +0x1D0 /* 00002B82 */
000029B6 3340 0018 move.w [A1 + 0x18], D0
000029BA 0828 0004 001E btst.b [A0 + 0x1E], 0x4
000029C0 6662 bne +0x64 /* 00002A24 */
000029C2 2368 0064 000C move.l [A1 + 0xC], [A0 + 0x64]
000029C8 2228 0020 move.l D1, [A0 + 0x20]
000029CC 2281 move.l [A1], D1
000029CE 4A2E 0552 tst.b [A6 + 0x552]
000029D2 6606 bne +0x8 /* 000029DA */
000029D4 42A9 0004 clr.l [A1 + 0x4]
000029D8 6006 bra +0x8 /* 000029E0 */
label000029DA:
000029DA 2368 0024 0004 move.l [A1 + 0x4], [A0 + 0x24]
label000029E0:
000029E0 6100 FF38 bsr -0xC6 /* 0000291A */
000029E4 0C40 F067 cmpi.w D0, 0xF067
000029E8 57E9 001E seq [A1 + 0x1E]
000029EC 0C40 F060 cmpi.w D0, 0xF060
000029F0 660C bne +0xE /* 000029FE */
000029F2 0829 000B 0012 btst.b [A1 + 0x12], 0xB
000029F8 6704 beq +0x6 /* 000029FE */
000029FA 303C F06F move.w D0, 0xF06F
label000029FE:
000029FE 4A02 tst.b D2
00002A00 6700 0084 beq +0x86 /* 00002A86 */
00002A04 0C81 6164 7270 cmpi.l D1, 0x61647270 /* 'adrp' */
00002A0A 6700 007A beq +0x7C /* 00002A86 */
00002A0E 0C81 6472 6F70 cmpi.l D1, 0x64726F70 /* 'drop' */
00002A14 6770 beq +0x72 /* 00002A86 */
00002A16 08E9 0004 0010 bset.b [A1 + 0x10], 0x4
00002A1C 08E8 0004 001E bset.b [A0 + 0x1E], 0x4
00002A22 6062 bra +0x64 /* 00002A86 */
label00002A24:
00002A24 08A9 000F 0012 bclr.b [A1 + 0x12], 0xF
00002A2A 22A8 0030 move.l [A1], [A0 + 0x30]
00002A2E 2368 0064 000C move.l [A1 + 0xC], [A0 + 0x64]
00002A34 222E 03CE move.l D1, [A6 + 0x3CE]
00002A38 0801 0012 btst.b D1, 0x12
00002A3C 6718 beq +0x1A /* 00002A56 */
00002A3E 1368 001F 0011 move.b [A1 + 0x11], [A0 + 0x1F]
00002A44 08A9 0007 0011 bclr.b [A1 + 0x11], 0x7
00002A4A 4A2E 0451 tst.b [A6 + 0x451]
00002A4E 6706 beq +0x8 /* 00002A56 */
00002A50 08E9 0002 0011 bset.b [A1 + 0x11], 0x2
label00002A56:
00002A56 303C F061 move.w D0, 0xF061
00002A5A 1229 0011 move.b D1, [A1 + 0x11]
00002A5E 4A2E 04A4 tst.b [A6 + 0x4A4]
00002A62 660E bne +0x10 /* 00002A72 */
00002A64 0801 0000 btst.b D1, 0x0
00002A68 671C beq +0x1E /* 00002A86 */
00002A6A 0201 0006 andi.b D1, 0x6
00002A6E 6716 beq +0x18 /* 00002A86 */
00002A70 600A bra +0xC /* 00002A7C */
label00002A72:
00002A72 0201 0003 andi.b D1, 0x3
00002A76 0C01 0003 cmpi.b D1, 0x3
00002A7A 660A bne +0xC /* 00002A86 */
label00002A7C:
00002A7C 303C F066 move.w D0, 0xF066
00002A80 08E9 0003 0011 bset.b [A1 + 0x11], 0x3
label00002A86:
00002A86 3340 0014 move.w [A1 + 0x14], D0
00002A8A 4A2E 03C6 tst.b [A6 + 0x3C6]
00002A8E 6706 beq +0x8 /* 00002A96 */
00002A90 08E9 0007 0011 bset.b [A1 + 0x11], 0x7
label00002A96:
00002A96 6100 00F8 bsr +0xFA /* 00002B90 */
00002A9A 3340 0016 move.w [A1 + 0x16], D0
00002A9E 0828 0004 001E btst.b [A0 + 0x1E], 0x4
00002AA4 660A bne +0xC /* 00002AB0 */
00002AA6 4A2E 04A4 tst.b [A6 + 0x4A4]
00002AAA 6604 bne +0x6 /* 00002AB0 */
00002AAC 50E9 001E st [A1 + 0x1E]
label00002AB0:
00002AB0 6100 00F6 bsr +0xF8 /* 00002BA8 */
00002AB4 3340 001A move.w [A1 + 0x1A], D0
00002AB8 3341 001C move.w [A1 + 0x1C], D1
00002ABC 336E 053A 0020 move.w [A1 + 0x20], [A6 + 0x53A]
00002AC2 7000 moveq.l D0, 0x00
00002AC4 0829 000F 0012 btst.b [A1 + 0x12], 0xF
00002ACA 6720 beq +0x22 /* 00002AEC */
00002ACC 594F subq.w A7, 4
00002ACE 3F29 001A move.w -[A7], [A1 + 0x1A]
00002AD2 3F3C 005C move.w -[A7], 0x5C /* '\\' */
00002AD6 2F3C 8404 000C move.l -[A7], 0x8404000C
00002ADC A8B5 syscall ScriptUtil
00002ADE 221F move.l D1, [A7]+
00002AE0 1001 move.b D0, D1
00002AE2 41EE 018A lea.l A0, [A6 + 0x18A]
00002AE6 2254 movea.l A1, [A4]
00002AE8 43F1 6000 lea.l A1, [A1 + D6.w]
label00002AEC:
00002AEC 1340 001F move.b [A1 + 0x1F], D0
00002AF0 0829 000E 0012 btst.b [A1 + 0x12], 0xE
00002AF6 670C beq +0xE /* 00002B04 */
00002AF8 4A2E 04A4 tst.b [A6 + 0x4A4]
00002AFC 6746 beq +0x48 /* 00002B44 */
00002AFE 4A6E 016A tst.w [A6 + 0x16A]
00002B02 6C40 bge +0x42 /* 00002B44 */
label00002B04:
00002B04 4A2E 04A4 tst.b [A6 + 0x4A4]
00002B08 6750 beq +0x52 /* 00002B5A */
00002B0A 0828 0004 001E btst.b [A0 + 0x1E], 0x4
00002B10 6636 bne +0x38 /* 00002B48 */
00002B12 2028 0020 move.l D0, [A0 + 0x20]
00002B16 0C80 C46C 6472 cmpi.l D0, 0xC46C6472
00002B1C 6700 FE30 beq -0x1CE /* 0000294E */
00002B20 226E 016C movea.l A1, [A6 + 0x16C]
00002B24 322E 016A move.w D1, [A6 + 0x16A]
00002B28 6F1E ble +0x20 /* 00002B48 */
label00002B2A:
00002B2A B099 cmp.l D0, [A1]+
00002B2C 671A beq +0x1C /* 00002B48 */
00002B2E 5341 subq.w D1, 1
00002B30 66F8 bne -0x6 /* 00002B2A */
00002B32 43EE 0598 lea.l A1, [A6 + 0x598]
00002B36 322E 0618 move.w D1, [A6 + 0x618]
00002B3A 6708 beq +0xA /* 00002B44 */
label00002B3C:
00002B3C B099 cmp.l D0, [A1]+
00002B3E 671A beq +0x1C /* 00002B5A */
00002B40 5341 subq.w D1, 1
00002B42 66F8 bne -0x6 /* 00002B3C */
label00002B44:
00002B44 6000 FE08 bra -0x1F6 /* 0000294E */
label00002B48:
00002B48 0828 0004 001E btst.b [A0 + 0x1E], 0x4
00002B4E 6706 beq +0x8 /* 00002B56 */
00002B50 4A2E 0569 tst.b [A6 + 0x569]
00002B54 6704 beq +0x6 /* 00002B5A */
label00002B56:
00002B56 610A bsr +0xC /* 00002B62 */
00002B58 66EA bne -0x14 /* 00002B44 */
label00002B5A:
00002B5A 6100 0222 bsr +0x224 /* 00002D7E */
00002B5E 6AE4 bpl -0x1A /* 00002B44 */
label00002B60:
00002B60 4E75 rts
fn00002B62:
00002B62 4AAE 0166 tst.l [A6 + 0x166]
00002B66 6718 beq +0x1A /* 00002B80 */
00002B68 554F subq.w A7, 2
00002B6A 486E 018A pea.l [A6 + 0x18A]
00002B6E 4A2E 04A7 tst.b [A6 + 0x4A7]
00002B72 6704 beq +0x6 /* 00002B78 */
00002B74 2F2E 0186 move.l -[A7], [A6 + 0x186]
label00002B78:
00002B78 206E 0166 movea.l A0, [A6 + 0x166]
00002B7C 4E90 jsr [A0]
00002B7E 101F move.b D0, [A7]+
label00002B80:
00002B80 4E75 rts
fn00002B82:
00002B82 7000 moveq.l D0, 0x00
00002B84 1028 0029 move.b D0, [A0 + 0x29]
00002B88 E240 asr D0.w, 1
00002B8A 0240 0007 andi.w D0, 0x7
00002B8E 4E75 rts
fn00002B90:
00002B90 103A D47A move.b D0, [PC - 0x2B86 /* 0000000C, value 0x0, cstring "" */]
00002B94 660C bne +0xE /* 00002BA2 */
00002B96 4A78 0BAC tst.w [0x00000BAC /* TESysJust */]
00002B9A 6706 beq +0x8 /* 00002BA2 */
00002B9C 303C 00FF move.w D0, 0xFF
00002BA0 6004 bra +0x6 /* 00002BA6 */
label00002BA2:
00002BA2 303C FF00 move.w D0, 0xFF00
label00002BA6:
00002BA6 4E75 rts
fn00002BA8:
00002BA8 48E7 00C0 movem.l -[A7], A0,A1
00002BAC 594F subq.w A7, 4
00002BAE 3F3C 001E move.w -[A7], 0x1E
00002BB2 2F3C 8402 0008 move.l -[A7], 0x84020008
00002BB8 A8B5 syscall ScriptUtil
00002BBA 201F move.l D0, [A7]+
00002BBC 0800 001D btst.b D0, 0x1D
00002BC0 670E beq +0x10 /* 00002BD0 */
00002BC2 2057 movea.l A0, [A7]
00002BC4 7000 moveq.l D0, 0x00
00002BC6 1028 005C move.b D0, [A0 + 0x5C]
00002BCA 0880 0007 bclr.b D0, 0x7
00002BCE 6604 bne +0x6 /* 00002BD4 */
label00002BD0:
00002BD0 302E 0724 move.w D0, [A6 + 0x724]
label00002BD4:
00002BD4 3F00 move.w -[A7], D0
00002BD6 322E 0538 move.w D1, [A6 + 0x538]
00002BDA B06E 0536 cmp.w D0, [A6 + 0x536]
00002BDE 6712 beq +0x14 /* 00002BF2 */
00002BE0 594F subq.w A7, 4
00002BE2 3F00 move.w -[A7], D0
00002BE4 3F3C 000C move.w -[A7], 0xC
00002BE8 2F3C 8404 000C move.l -[A7], 0x8404000C
00002BEE A8B5 syscall ScriptUtil
00002BF0 221F move.l D1, [A7]+
label00002BF2:
00002BF2 301F move.w D0, [A7]+
00002BF4 4CDF 0300 movem.l A0,A1, [A7]+
00002BF8 4E75 rts
fn00002BFA:
00002BFA 48E7 8040 movem.l -[A7], D0,A1
00002BFE 2478 0358 movea.l A2, [0x00000358]
00002C02 2608 move.l D3, A0
label00002C04:
00002C04 200A move.l D0, A2
00002C06 672A beq +0x2C /* 00002C32 */
00002C08 4A6A 0048 tst.w [A2 + 0x48]
00002C0C 6606 bne +0x8 /* 00002C14 */
00002C0E 4A6A 004A tst.w [A2 + 0x4A]
00002C12 6A1A bpl +0x1C /* 00002C2E */
label00002C14:
00002C14 224A movea.l A1, A2
00002C16 6100 EBCE bsr -0x1430 /* 000017E6 */
00002C1A 4A40 tst.w D0
00002C1C 6610 bne +0x12 /* 00002C2E */
00002C1E 3D6A 0048 0540 move.w [A6 + 0x540], [A2 + 0x48]
00002C24 2F0A move.l -[A7], A2
00002C26 2043 movea.l A0, D3
00002C28 4E90 jsr [A0]
00002C2A 245F movea.l A2, [A7]+
00002C2C 6B04 bmi +0x6 /* 00002C32 */
label00002C2E:
00002C2E 2452 movea.l A2, [A2]
00002C30 60D2 bra -0x2C /* 00002C04 */
label00002C32:
00002C32 4CDF 0201 movem.l D0,A1, [A7]+
00002C36 4E75 rts
00002C38 302A 004E move.w D0, [A2 + 0x4E]
00002C3C 41EE 018A lea.l A0, [A6 + 0x18A]
00002C40 3140 0016 move.w [A0 + 0x16], D0
00002C44 2F05 move.l -[A7], D5
00002C46 2205 move.l D1, D5
00002C48 6100 EF7E bsr -0x1080 /* 00001BC8 */
00002C4C 2A00 move.l D5, D0
00002C4E 6710 beq +0x12 /* 00002C60 */
00002C50 322E 0540 move.w D1, [A6 + 0x540]
00002C54 6100 EFB2 bsr -0x104C /* 00001C08 */
00002C58 1D40 03C6 move.b [A6 + 0x3C6], D0
00002C5C 6100 FCEE bsr -0x310 /* 0000294C */
label00002C60:
00002C60 2A1F move.l D5, [A7]+
00002C62 7000 moveq.l D0, 0x00
00002C64 4E75 rts
00002C66 7400 moveq.l D2, 0x00
00002C68 41EE 018A lea.l A0, [A6 + 0x18A]
00002C6C 42A8 0012 clr.l [A0 + 0x12]
00002C70 316A 004E 0016 move.w [A0 + 0x16], [A2 + 0x4E]
00002C76 43EE 03CC lea.l A1, [A6 + 0x3CC]
00002C7A 2149 0020 move.l [A0 + 0x20], A1
00002C7E 700E moveq.l D0, 0x0E
00002C80 2140 0024 move.l [A0 + 0x24], D0
00002C84 7030 moveq.l D0, 0x30
00002C86 A260 syscall FSDispatch/HFSDispatch, flags=2
00002C88 6600 0006 bne +0x8 /* 00002C90 */
00002C8C 242E 03CE move.l D2, [A6 + 0x3CE]
label00002C90:
00002C90 41EE 018A lea.l A0, [A6 + 0x18A]
00002C94 316A 004E 0016 move.w [A0 + 0x16], [A2 + 0x4E]
00002C9A 317C FFFF 001C move.w [A0 + 0x1C], 0xFFFF
00002CA0 7002 moveq.l D0, 0x02
00002CA2 2140 0030 move.l [A0 + 0x30], D0
00002CA6 2254 movea.l A1, [A4]
00002CA8 43F1 6022 lea.l A1, [A1 + D6.w + 0x22]
00002CAC 2149 0012 move.l [A0 + 0x12], A1
00002CB0 7009 moveq.l D0, 0x09
00002CB2 A260 syscall FSDispatch/HFSDispatch, flags=2
00002CB4 6B00 00C6 bmi +0xC8 /* 00002D7C */
00002CB8 302A 004E move.w D0, [A2 + 0x4E]
00002CBC 223C 6465 736B move.l D1, 0x6465736B /* 'desk' */
00002CC2 48E7 00E0 movem.l -[A7], A0,A1,A2
00002CC6 6100 EF00 bsr -0x10FE /* 00001BC8 */
00002CCA 2200 move.l D1, D0
00002CCC 302A 004E move.w D0, [A2 + 0x4E]
00002CD0 6100 0B74 bsr +0xB76 /* 00003846 */
00002CD4 4A81 tst.l D1
00002CD6 6602 bne +0x4 /* 00002CDA */
00002CD8 7202 moveq.l D1, 0x02
label00002CDA:
00002CDA 2081 move.l [A0], D1
00002CDC 4CDF 0700 movem.l A0,A1,A2, [A7]+
00002CE0 2254 movea.l A1, [A4]
00002CE2 43F1 6000 lea.l A1, [A1 + D6.w]
00002CE6 2281 move.l [A1], D1
00002CE8 42A9 0004 clr.l [A1 + 0x4]
00002CEC 7001 moveq.l D0, 0x01
00002CEE 2340 000C move.l [A1 + 0xC], D0
00002CF2 336A 0048 0008 move.w [A1 + 0x8], [A2 + 0x48]
00002CF8 336A 004E 000A move.w [A1 + 0xA], [A2 + 0x4E]
00002CFE 1368 001E 0010 move.b [A1 + 0x10], [A0 + 0x1E]
00002D04 4229 0011 clr.b [A1 + 0x11]
00002D08 302A 0012 move.w D0, [A2 + 0x12]
00002D0C 0240 8080 andi.w D0, 0x8080
00002D10 6706 beq +0x8 /* 00002D18 */
00002D12 08E9 0002 0011 bset.b [A1 + 0x11], 0x2
label00002D18:
00002D18 0802 0012 btst.b D2, 0x12
00002D1C 670E beq +0x10 /* 00002D2C */
00002D1E 0828 0002 001F btst.b [A0 + 0x1F], 0x2
00002D24 6706 beq +0x8 /* 00002D2C */
00002D26 08E9 0002 0011 bset.b [A1 + 0x11], 0x2
label00002D2C:
00002D2C 322A 0048 move.w D1, [A2 + 0x48]
00002D30 6100 EED6 bsr -0x1128 /* 00001C08 */
00002D34 4A00 tst.b D0
00002D36 6706 beq +0x8 /* 00002D3E */
00002D38 08E9 0007 0011 bset.b [A1 + 0x11], 0x7
label00002D3E:
00002D3E 3368 0028 0012 move.w [A1 + 0x12], [A0 + 0x28]
00002D44 3028 0016 move.w D0, [A0 + 0x16]
00002D48 6100 0B50 bsr +0xB52 /* 0000389A */
00002D4C 3340 0014 move.w [A1 + 0x14], D0
00002D50 6100 FE30 bsr -0x1CE /* 00002B82 */
00002D54 3340 0018 move.w [A1 + 0x18], D0
00002D58 6100 FE36 bsr -0x1C8 /* 00002B90 */
00002D5C 3340 0016 move.w [A1 + 0x16], D0
00002D60 6100 FE46 bsr -0x1B8 /* 00002BA8 */
00002D64 3340 001A move.w [A1 + 0x1A], D0
00002D68 3341 001C move.w [A1 + 0x1C], D1
00002D6C 336E 053A 0020 move.w [A1 + 0x20], [A6 + 0x53A]
00002D72 4229 001E clr.b [A1 + 0x1E]
00002D76 4229 001F clr.b [A1 + 0x1F]
00002D7A 6102 bsr +0x4 /* 00002D7E */
label00002D7C:
00002D7C 4E75 rts
fn00002D7E:
00002D7E 7200 moveq.l D1, 0x00
00002D80 2053 movea.l A0, [A3]
00002D82 3228 004C move.w D1, [A0 + 0x4C]
00002D86 D281 add.l D1, D1
00002D88 204B movea.l A0, A3
00002D8A A025 syscall GetHandleSize
00002D8C 0480 0000 0058 subi.l D0, 0x58 /* 'X' */
00002D92 B280 cmp.l D1, D0
00002D94 6D0A blt +0xC /* 00002DA0 */
00002D96 0680 0000 0096 addi.l D0, 0x96
00002D9C A024 syscall SetHandleSize
00002D9E 663A bne +0x3C /* 00002DDA */
label00002DA0:
00002DA0 2053 movea.l A0, [A3]
00002DA2 3186 1056 move.w [A0 + D1.w + 0x56], D6
00002DA6 5268 004C addq.w [A0 + 0x4C], 1
00002DAA 7225 moveq.l D1, 0x25
00002DAC 2054 movea.l A0, [A4]
00002DAE D230 6022 add.b D1, [A0 + D6.w + 0x22]
00002DB2 0881 0000 bclr.b D1, 0x0
00002DB6 DC41 add.w D6, D1
00002DB8 204C movea.l A0, A4
00002DBA A025 syscall GetHandleSize
00002DBC 2200 move.l D1, D0
00002DBE 9286 sub.l D1, D6
00002DC0 0C81 0000 0062 cmpi.l D1, 0x62 /* 'b' */
00002DC6 6C24 bge +0x26 /* 00002DEC */
00002DC8 2200 move.l D1, D0
00002DCA A02A syscall HUnlock
00002DCC 303C 0400 move.w D0, 0x400
00002DD0 D081 add.l D0, D1
00002DD2 4A40 tst.w D0
00002DD4 6B04 bmi +0x6 /* 00002DDA */
00002DD6 A024 syscall SetHandleSize
00002DD8 6712 beq +0x14 /* 00002DEC */
label00002DDA:
00002DDA 48E7 F8F8 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2,A3,A4
00002DDE 323C 000D move.w D1, 0xD /* '\r' */
00002DE2 6100 F880 bsr -0x77E /* 00002664 */
00002DE6 4CDF 1F1F movem.l D0,D1,D2,D3,D4,A0,A1,A2,A3,A4, [A7]+
00002DEA 70FF moveq.l D0, 0xFFFFFFFF
label00002DEC:
00002DEC 4E75 rts
fn00002DEE:
00002DEE 3F06 move.w -[A7], D6
00002DF0 3F07 move.w -[A7], D7
00002DF2 3C2F 000A move.w D6, [A7 + 0xA]
00002DF6 3E2F 0008 move.w D7, [A7 + 0x8]
00002DFA 3A07 move.w D5, D7
00002DFC 9A46 sub.w D5, D6
00002DFE 6F3C ble +0x3E /* 00002E3C */
00002E00 0C45 0002 cmpi.w D5, 0x2
00002E04 6620 bne +0x22 /* 00002E26 */
00002E06 3634 6000 move.w D3, [A4 + D6.w]
00002E0A 41F2 301A lea.l A0, [A2 + D3.w + 0x1A]
00002E0E 3834 7000 move.w D4, [A4 + D7.w]
00002E12 43F2 401A lea.l A1, [A2 + D4.w + 0x1A]
00002E16 6100 0096 bsr +0x98 /* 00002EAE */
00002E1A 6D20 blt +0x22 /* 00002E3C */
00002E1C 3984 6000 move.w [A4 + D6.w], D4
00002E20 3983 7000 move.w [A4 + D7.w], D3
00002E24 6016 bra +0x18 /* 00002E3C */
label00002E26:
00002E26 611C bsr +0x1E /* 00002E44 */
00002E28 3F05 move.w -[A7], D5
00002E2A 3F06 move.w -[A7], D6
00002E2C 5545 subq.w D5, 2
00002E2E 3F05 move.w -[A7], D5
00002E30 61BC bsr -0x42 /* 00002DEE */
00002E32 3A1F move.w D5, [A7]+
00002E34 5445 addq.w D5, 2
00002E36 3F05 move.w -[A7], D5
00002E38 3F07 move.w -[A7], D7
00002E3A 61B2 bsr -0x4C /* 00002DEE */
label00002E3C:
00002E3C 3E1F move.w D7, [A7]+
00002E3E 3C1F move.w D6, [A7]+
00002E40 2E9F move.l [A7], [A7]+
00002E42 4E75 rts
fn00002E44:
00002E44 48E7 0300 movem.l -[A7], D6,D7
00002E48 3A07 move.w D5, D7
00002E4A DA46 add.w D5, D6
00002E4C E24D lsr D5.w, 1
00002E4E 0245 FFFE andi.w D5, 0xFFFE
00002E52 3634 5000 move.w D3, [A4 + D5.w]
00002E56 39B4 7000 5000 move.w [A4 + D5.w], [A4 + D7.w]
00002E5C 3983 7000 move.w [A4 + D7.w], D3
00002E60 41F2 301A lea.l A0, [A2 + D3.w + 0x1A]
00002E64 5546 subq.w D6, 2
label00002E66:
00002E66 5446 addq.w D6, 2
00002E68 3634 6000 move.w D3, [A4 + D6.w]
00002E6C 43F2 301A lea.l A1, [A2 + D3.w + 0x1A]
00002E70 613C bsr +0x3E /* 00002EAE */
00002E72 6EF2 bgt -0xC /* 00002E66 */
label00002E74:
00002E74 5547 subq.w D7, 2
00002E76 6F20 ble +0x22 /* 00002E98 */
00002E78 3634 7000 move.w D3, [A4 + D7.w]
00002E7C 43F2 301A lea.l A1, [A2 + D3.w + 0x1A]
00002E80 612C bsr +0x2E /* 00002EAE */
00002E82 6DF0 blt -0xE /* 00002E74 */
00002E84 BE46 cmp.w D7, D6
00002E86 6F10 ble +0x12 /* 00002E98 */
00002E88 3634 6000 move.w D3, [A4 + D6.w]
00002E8C 39B4 7000 6000 move.w [A4 + D6.w], [A4 + D7.w]
00002E92 3983 7000 move.w [A4 + D7.w], D3
00002E96 60CE bra -0x30 /* 00002E66 */
label00002E98:
00002E98 3A06 move.w D5, D6
00002E9A 4CDF 00C0 movem.l D6,D7, [A7]+
00002E9E 3634 5000 move.w D3, [A4 + D5.w]
00002EA2 39B4 7000 5000 move.w [A4 + D5.w], [A4 + D7.w]
00002EA8 3983 7000 move.w [A4 + D7.w], D3
00002EAC 4E75 rts
fn00002EAE:
00002EAE B3C8 cmpa.l A1, A0
00002EB0 677A beq +0x7C /* 00002F2C */
00002EB2 48E7 00C0 movem.l -[A7], A0,A1
00002EB6 3010 move.w D0, [A0]
00002EB8 B051 cmp.w D0, [A1]
00002EBA 6710 beq +0x12 /* 00002ECC */
00002EBC 554F subq.w A7, 2
00002EBE 3F00 move.w -[A7], D0
00002EC0 3F11 move.w -[A7], [A1]
00002EC2 3F3C 001E move.w -[A7], 0x1E
00002EC6 A9ED syscall Pack6
00002EC8 4A5F tst.w [A7]+
00002ECA 605C bra +0x5E /* 00002F28 */
label00002ECC:
00002ECC 41E8 0008 lea.l A0, [A0 + 0x8]
00002ED0 43E9 0008 lea.l A1, [A1 + 0x8]
00002ED4 1010 move.b D0, [A0]
label00002ED6:
00002ED6 B308 cmpm.b [A1]+, [A0]+
00002ED8 56C8 FFFC dbne D0, -0x6 /* 00002ED6 */
00002EDC 674A beq +0x4C /* 00002F28 */
00002EDE 4CD7 0300 movem.l A0,A1, [A7]
00002EE2 554F subq.w A7, 2
00002EE4 4868 0009 pea.l [A0 + 0x9]
00002EE8 4869 0009 pea.l [A1 + 0x9]
00002EEC 7000 moveq.l D0, 0x00
00002EEE 1028 0008 move.b D0, [A0 + 0x8]
00002EF2 3F00 move.w -[A7], D0
00002EF4 1029 0008 move.b D0, [A1 + 0x8]
00002EF8 3F00 move.w -[A7], D0
00002EFA 3010 move.w D0, [A0]
00002EFC B06E 0580 cmp.w D0, [A6 + 0x580]
00002F00 671A beq +0x1C /* 00002F1C */
00002F02 3D40 0580 move.w [A6 + 0x580], D0
00002F06 594F subq.w A7, 4
00002F08 3F3C 0002 move.w -[A7], 0x2
00002F0C 3F00 move.w -[A7], D0
00002F0E 3F3C FFFF move.w -[A7], 0xFFFF
00002F12 3F3C 0032 move.w -[A7], 0x32 /* '2' */
00002F16 A9ED syscall Pack6
00002F18 2D5F 0582 move.l [A6 + 0x582], [A7]+
label00002F1C:
00002F1C 2F2E 0582 move.l -[A7], [A6 + 0x582]
00002F20 3F3C 001A move.w -[A7], 0x1A
00002F24 A9ED syscall Pack6
00002F26 4A5F tst.w [A7]+
label00002F28:
00002F28 4CDF 0300 movem.l A0,A1, [A7]+
label00002F2C:
00002F2C 4E75 rts
fn00002F2E:
00002F2E 4A2E 0586 tst.b [A6 + 0x586]
00002F32 672C beq +0x2E /* 00002F60 */
00002F34 48E7 0300 movem.l -[A7], D6,D7
00002F38 3C2F 000E move.w D6, [A7 + 0xE]
00002F3C 3E2F 000C move.w D7, [A7 + 0xC]
label00002F40:
00002F40 BC47 cmp.w D6, D7
00002F42 6420 bcc +0x22 /* 00002F64 */
00002F44 3634 6000 move.w D3, [A4 + D6.w]
00002F48 41F2 301A lea.l A0, [A2 + D3.w + 0x1A]
00002F4C 5446 addq.w D6, 2
00002F4E 3834 6000 move.w D4, [A4 + D6.w]
00002F52 43F2 401A lea.l A1, [A2 + D4.w + 0x1A]
00002F56 6100 FF56 bsr -0xA8 /* 00002EAE */
00002F5A 6FE4 ble -0x1A /* 00002F40 */
00002F5C 4CDF 00C0 movem.l D6,D7, [A7]+
label00002F60:
00002F60 6000 FE8C bra -0x172 /* 00002DEE */
label00002F64:
00002F64 4CDF 00C0 movem.l D6,D7, [A7]+
00002F68 2E9F move.l [A7], [A7]+
00002F6A 4E75 rts
fn00002F6C:
00002F6C 0C40 FFFF cmpi.w D0, 0xFFFF
00002F70 6604 bne +0x6 /* 00002F76 */
00002F72 302E 0536 move.w D0, [A6 + 0x536]
label00002F76:
00002F76 3D40 0460 move.w [A6 + 0x460], D0
00002F7A 43EE 0462 lea.l A1, [A6 + 0x462]
00002F7E 7001 moveq.l D0, 0x01
00002F80 D010 add.b D0, [A0]
00002F82 A22E syscall BlockMove/BlockMoveData, flags=2
fn00002F84:
00002F84 206E 04AC movea.l A0, [A6 + 0x4AC]
00002F88 2050 movea.l A0, [A0]
00002F8A 3028 004C move.w D0, [A0 + 0x4C]
00002F8E 9068 0048 sub.w D0, [A0 + 0x48]
00002F92 6720 beq +0x22 /* 00002FB4 */
00002F94 554F subq.w A7, 2
00002F96 486E 045C pea.l [A6 + 0x45C]
00002F9A 3F00 move.w -[A7], D0
00002F9C 4267 clr.w -[A7]
00002F9E 487A 0016 pea.l [PC + 0x16 /* 00002FB6, value 0x206F0004, cstring " o" */]
00002FA2 2F2E 04AC move.l -[A7], [A6 + 0x4AC]
00002FA6 3F3C 002C move.w -[A7], 0x2C /* ',' */
00002FAA A9ED syscall Pack6
00002FAC 361F move.w D3, [A7]+
00002FAE 5343 subq.w D3, 1
00002FB0 50C2 st D2
00002FB2 614C bsr +0x4E /* 00003000 */
label00002FB4:
00002FB4 4E75 rts
00002FB6 206F 0004 movea.l A0, [A7 + 0x4]
00002FBA 2050 movea.l A0, [A0]
00002FBC 302F 0010 move.w D0, [A7 + 0x10]
00002FC0 5340 subq.w D0, 1
00002FC2 D068 0048 add.w D0, [A0 + 0x48]
00002FC6 D040 add.w D0, D0
00002FC8 3030 0056 move.w D0, [A0 + D0.w + 0x56]
00002FCC 0240 7FFF andi.w D0, 0x7FFF
00002FD0 2068 0050 movea.l A0, [A0 + 0x50]
00002FD4 2050 movea.l A0, [A0]
00002FD6 43F0 0000 lea.l A1, [A0 + D0.w]
00002FDA 206F 000C movea.l A0, [A7 + 0xC]
00002FDE 30A9 001A move.w [A0], [A1 + 0x1A]
00002FE2 206F 0008 movea.l A0, [A7 + 0x8]
00002FE6 4290 clr.l [A0]
00002FE8 4A29 001E tst.b [A1 + 0x1E]
00002FEC 6606 bne +0x8 /* 00002FF4 */
00002FEE 43E9 0022 lea.l A1, [A1 + 0x22]
00002FF2 2089 move.l [A0], A1
label00002FF4:
00002FF4 205F movea.l A0, [A7]+
00002FF6 4FEF 000E lea.l A7, [A7 + 0xE]
00002FFA 1EBC 0001 move.b [A7], 0x1
00002FFE 4ED0 jmp [A0]
fn00003000:
00003000 3F04 move.w -[A7], D4
00003002 1802 move.b D4, D2
00003004 4A2E 056B tst.b [A6 + 0x56B]
00003008 660E bne +0x10 /* 00003018 */
0000300A 7000 moveq.l D0, 0x00
0000300C 3003 move.w D0, D3
0000300E 4840 swap.w D0
00003010 2D40 0458 move.l [A6 + 0x458], D0
00003014 6000 0082 bra +0x84 /* 00003098 */
label00003018:
00003018 246E 04AC movea.l A2, [A6 + 0x4AC]
0000301C 6100 04DC bsr +0x4DE /* 000034FA */
00003020 6B14 bmi +0x16 /* 00003036 */
00003022 4840 swap.w D0
00003024 B043 cmp.w D0, D3
00003026 6724 beq +0x26 /* 0000304C */
00003028 4840 swap.w D0
0000302A 51E7 sf -[A7]
0000302C 2F00 move.l -[A7], D0
0000302E 2F0A move.l -[A7], A2
00003030 3F3C 005C move.w -[A7], 0x5C /* '\\' */
00003034 A9E7 syscall Pack0/ListManager
label00003036:
00003036 3003 move.w D0, D3
00003038 4840 swap.w D0
0000303A 4240 clr.w D0
0000303C 2D40 0458 move.l [A6 + 0x458], D0
00003040 50E7 st -[A7]
00003042 2F00 move.l -[A7], D0
00003044 2F0A move.l -[A7], A2
00003046 3F3C 005C move.w -[A7], 0x5C /* '\\' */
0000304A A9E7 syscall Pack0/ListManager
label0000304C:
0000304C 2252 movea.l A1, [A2]
0000304E 3229 0014 move.w D1, [A1 + 0x14]
00003052 3429 0018 move.w D2, [A1 + 0x18]
00003056 3003 move.w D0, D3
00003058 9041 sub.w D0, D1
0000305A 6D08 blt +0xA /* 00003064 */
0000305C 3003 move.w D0, D3
0000305E 5240 addq.w D0, 1
00003060 9042 sub.w D0, D2
00003062 6F34 ble +0x36 /* 00003098 */
label00003064:
00003064 4A04 tst.b D4
00003066 6714 beq +0x16 /* 0000307C */
00003068 3003 move.w D0, D3
0000306A D242 add.w D1, D2
0000306C 5341 subq.w D1, 1
0000306E E241 asr D1.w, 1
00003070 9041 sub.w D0, D1
00003072 D440 add.w D2, D0
00003074 9469 004C sub.w D2, [A1 + 0x4C]
00003078 6F02 ble +0x4 /* 0000307C */
0000307A 9042 sub.w D0, D2
label0000307C:
0000307C 4A2E 056D tst.b [A6 + 0x56D]
00003080 670A beq +0xC /* 0000308C */
00003082 D169 0014 add.w [A1 + 0x14], D0
00003086 D169 0018 add.w [A1 + 0x18], D0
0000308A 600C bra +0xE /* 00003098 */
label0000308C:
0000308C 4267 clr.w -[A7]
0000308E 3F00 move.w -[A7], D0
00003090 2F0A move.l -[A7], A2
00003092 3F3C 0050 move.w -[A7], 0x50 /* 'P' */
00003096 A9E7 syscall Pack0/ListManager
label00003098:
00003098 4A2E 056D tst.b [A6 + 0x56D]
0000309C 6706 beq +0x8 /* 000030A4 */
0000309E 51EE 056D sf [A6 + 0x56D]
000030A2 612E bsr +0x30 /* 000030D2 */
label000030A4:
000030A4 4A2E 04A9 tst.b [A6 + 0x4A9]
000030A8 6F0E ble +0x10 /* 000030B8 */
000030AA 6100 044E bsr +0x450 /* 000034FA */
000030AE 6B08 bmi +0xA /* 000030B8 */
000030B0 3028 000A move.w D0, [A0 + 0xA]
000030B4 6100 073A bsr +0x73C /* 000037F0 */
label000030B8:
000030B8 381F move.w D4, [A7]+
000030BA 4E75 rts
fn000030BC:
000030BC 7007 moveq.l D0, 0x07
000030BE 6100 D73A bsr -0x28C4 /* 000007FA */
000030C2 6100 F0F6 bsr -0xF08 /* 000021BA */
000030C6 206E 04AC movea.l A0, [A6 + 0x4AC]
000030CA 2050 movea.l A0, [A0]
000030CC 4850 pea.l [A0]
000030CE A8A3 syscall EraseRect
000030D0 4E75 rts
fn000030D2:
000030D2 A89E syscall PenNormal
000030D4 486E 03DE pea.l [A6 + 0x3DE]
000030D8 A8A1 syscall FrameRect
000030DA 4A2E 056D tst.b [A6 + 0x56D]
000030DE 6618 bne +0x1A /* 000030F8 */
000030E0 2F2B 0018 move.l -[A7], [A3 + 0x18]
000030E4 2F2E 04AC move.l -[A7], [A6 + 0x4AC]
000030E8 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
000030EC A9E7 syscall Pack0/ListManager
000030EE 206E 04AC movea.l A0, [A6 + 0x4AC]
000030F2 2050 movea.l A0, [A0]
000030F4 4850 pea.l [A0]
000030F6 A92A syscall ValidRect
label000030F8:
000030F8 4E75 rts
000030FA 225F movea.l A1, [A7]+
000030FC 301F move.w D0, [A7]+
000030FE 321F move.w D1, [A7]+
00003100 50D7 st [A7]
00003102 5340 subq.w D0, 1
00003104 660A bne +0xC /* 00003110 */
00003106 31C1 0214 move.w [0x00000214 /* SFSaveDisk */], D1
0000310A 4478 0214 neg.w [0x00000214 /* SFSaveDisk */]
0000310E 51D7 sf [A7]
label00003110:
00003110 4ED1 jmp [A1]
fn00003112:
00003112 610C bsr +0xE /* 00003120 */
00003114 611A bsr +0x1C /* 00003130 */
00003116 6100 004C bsr +0x4E /* 00003164 */
0000311A 6100 008C bsr +0x8E /* 000031A8 */
0000311E 4E75 rts
fn00003120:
00003120 4A2E 04A9 tst.b [A6 + 0x4A9]
00003124 5EC3 sgt D3
00003126 206E 04BC movea.l A0, [A6 + 0x4BC]
0000312A 6100 0146 bsr +0x148 /* 00003272 */
0000312E 4E75 rts
fn00003130:
00003130 4A2E 04A9 tst.b [A6 + 0x4A9]
00003134 6F18 ble +0x1A /* 0000314E */
00003136 50C3 st D3
00003138 6100 03C0 bsr +0x3C2 /* 000034FA */
0000313C 6A06 bpl +0x8 /* 00003144 */
0000313E 6100 038A bsr +0x38C /* 000034CA */
00003142 6B16 bmi +0x18 /* 0000315A */
label00003144:
00003144 0828 0007 0011 btst.b [A0 + 0x11], 0x7
0000314A 56C3 sne D3
0000314C 600C bra +0xE /* 0000315A */
label0000314E:
0000314E 6100 E72C bsr -0x18D2 /* 0000187C */
00003152 4A43 tst.w D3
00003154 57C3 seq D3
00003156 862E 03C6 or.b D3, [A6 + 0x3C6]
label0000315A:
0000315A 206E 04B8 movea.l A0, [A6 + 0x4B8]
0000315E 6100 0112 bsr +0x114 /* 00003272 */
00003162 4E75 rts
fn00003164:
00003164 4A2E 04A4 tst.b [A6 + 0x4A4]
00003168 663C bne +0x3E /* 000031A6 */
0000316A 102E 0452 move.b D0, [A6 + 0x452]
0000316E 0200 0005 andi.b D0, 0x5
00003172 56C3 sne D3
00003174 0C6E D2D7 03CA cmpi.w [A6 + 0x3CA], 0xD2D7
0000317A 6602 bne +0x4 /* 0000317E */
0000317C 50C3 st D3
label0000317E:
0000317E 4A2E 04A9 tst.b [A6 + 0x4A9]
00003182 6F16 ble +0x18 /* 0000319A */
00003184 6100 0374 bsr +0x376 /* 000034FA */
00003188 6A06 bpl +0x8 /* 00003190 */
0000318A 6100 033E bsr +0x340 /* 000034CA */
0000318E 6B08 bmi +0xA /* 00003198 */
label00003190:
00003190 0828 0002 0011 btst.b [A0 + 0x11], 0x2
00003196 6702 beq +0x4 /* 0000319A */
label00003198:
00003198 50C3 st D3
label0000319A:
0000319A 202E 04C0 move.l D0, [A6 + 0x4C0]
0000319E 6706 beq +0x8 /* 000031A6 */
000031A0 2040 movea.l A0, D0
000031A2 6100 00CE bsr +0xD0 /* 00003272 */
label000031A6:
000031A6 4E75 rts
fn000031A8:
000031A8 6100 0350 bsr +0x352 /* 000034FA */
000031AC 2448 movea.l A2, A0
000031AE 6B26 bmi +0x28 /* 000031D6 */
000031B0 4A2E 056B tst.b [A6 + 0x56B]
000031B4 6720 beq +0x22 /* 000031D6 */
000031B6 082A 0004 0010 btst.b [A2 + 0x10], 0x4
000031BC 6718 beq +0x1A /* 000031D6 */
000031BE 4A2A 001E tst.b [A2 + 0x1E]
000031C2 6612 bne +0x14 /* 000031D6 */
000031C4 4A2E 04F4 tst.b [A6 + 0x4F4]
000031C8 6738 beq +0x3A /* 00003202 */
000031CA 41EE 04F6 lea.l A0, [A6 + 0x4F6]
000031CE 422E 04F4 clr.b [A6 + 0x4F4]
000031D2 7002 moveq.l D0, 0x02
000031D4 6010 bra +0x12 /* 000031E6 */
label000031D6:
000031D6 4A2E 04F4 tst.b [A6 + 0x4F4]
000031DA 6626 bne +0x28 /* 00003202 */
000031DC 41EE 0516 lea.l A0, [A6 + 0x516]
000031E0 50EE 04F4 st [A6 + 0x4F4]
000031E4 7001 moveq.l D0, 0x01
label000031E6:
000031E6 4A2E 04F5 tst.b [A6 + 0x4F5]
000031EA 6716 beq +0x18 /* 00003202 */
000031EC 226E 04B0 movea.l A1, [A6 + 0x4B0]
000031F0 2F09 move.l -[A7], A1
000031F2 2251 movea.l A1, [A1]
000031F4 3340 0016 move.w [A1 + 0x16], D0
000031F8 2F08 move.l -[A7], A0
000031FA A95F syscall SetControlTitle/SetCTitle
000031FC 486E 04EC pea.l [A6 + 0x4EC]
00003200 A92A syscall ValidRect
label00003202:
00003202 4A2E 04F4 tst.b [A6 + 0x4F4]
00003206 660C bne +0xE /* 00003214 */
00003208 204A movea.l A0, A2
0000320A 0828 0003 0011 btst.b [A0 + 0x11], 0x3
00003210 6652 bne +0x54 /* 00003264 */
00003212 604C bra +0x4E /* 00003260 */
label00003214:
00003214 4A2E 04A4 tst.b [A6 + 0x4A4]
00003218 663A bne +0x3C /* 00003254 */
0000321A 4A2E 04A6 tst.b [A6 + 0x4A6]
0000321E 6708 beq +0xA /* 00003228 */
00003220 4A2C 000C tst.b [A4 + 0xC]
00003224 673E beq +0x40 /* 00003264 */
00003226 6006 bra +0x8 /* 0000322E */
label00003228:
00003228 4A2C 000A tst.b [A4 + 0xA]
0000322C 6736 beq +0x38 /* 00003264 */
label0000322E:
0000322E 102E 0452 move.b D0, [A6 + 0x452]
00003232 0800 0002 btst.b D0, 0x2
00003236 662C bne +0x2E /* 00003264 */
00003238 0800 0001 btst.b D0, 0x1
0000323C 6626 bne +0x28 /* 00003264 */
0000323E 4A2E 04A9 tst.b [A6 + 0x4A9]
00003242 6F1C ble +0x1E /* 00003260 */
00003244 6100 0284 bsr +0x286 /* 000034CA */
00003248 6B1A bmi +0x1C /* 00003264 */
0000324A 0828 0002 0011 btst.b [A0 + 0x11], 0x2
00003250 6612 bne +0x14 /* 00003264 */
00003252 600C bra +0xE /* 00003260 */
label00003254:
00003254 70FF moveq.l D0, 0xFFFFFFFF
00003256 B5C0 cmpa.l A2, D0
00003258 670A beq +0xC /* 00003264 */
0000325A 4A2A 001E tst.b [A2 + 0x1E]
0000325E 6604 bne +0x6 /* 00003264 */
label00003260:
00003260 7600 moveq.l D3, 0x00
00003262 6002 bra +0x4 /* 00003266 */
label00003264:
00003264 76FF moveq.l D3, 0xFFFFFFFF
label00003266:
00003266 202E 04B0 move.l D0, [A6 + 0x4B0]
0000326A 6704 beq +0x6 /* 00003270 */
0000326C 2040 movea.l A0, D0
0000326E 6102 bsr +0x4 /* 00003272 */
label00003270:
00003270 4E75 rts
fn00003272:
00003272 2F08 move.l -[A7], A0
00003274 3F03 move.w -[A7], D3
00003276 4217 clr.b [A7]
00003278 A95D syscall HiliteControl
0000327A 4E75 rts
fn0000327C:
0000327C 4A2E 04A6 tst.b [A6 + 0x4A6]
00003280 6700 00EC beq +0xEE /* 0000336E */
00003284 7000 moveq.l D0, 0x00
00003286 3880 move.w [A4], D0
00003288 1940 000C move.b [A4 + 0xC], D0
0000328C 2940 0002 move.l [A4 + 0x2], D0
00003290 3940 004E move.w [A4 + 0x4E], D0
00003294 1940 0050 move.b [A4 + 0x50], D0
00003298 1940 0051 move.b [A4 + 0x51], D0
0000329C 2940 0052 move.l [A4 + 0x52], D0
000032A0 3940 0056 move.w [A4 + 0x56], D0
000032A4 2D40 06C2 move.l [A6 + 0x6C2], D0
000032A8 396E 03BE 0006 move.w [A4 + 0x6], [A6 + 0x3BE]
000032AE 296E 03C2 0008 move.l [A4 + 0x8], [A6 + 0x3C2]
000032B4 4A2E 04A9 tst.b [A6 + 0x4A9]
000032B8 6F10 ble +0x12 /* 000032CA */
000032BA 302E 03BC move.w D0, [A6 + 0x3BC]
000032BE 3940 0006 move.w [A4 + 0x6], D0
000032C2 6100 0582 bsr +0x584 /* 00003846 */
000032C6 2950 0008 move.l [A4 + 0x8], [A0]
label000032CA:
000032CA 6100 022E bsr +0x230 /* 000034FA */
000032CE 6B0C bmi +0xE /* 000032DC */
000032D0 3968 000A 0006 move.w [A4 + 0x6], [A0 + 0xA]
000032D6 2968 000C 0008 move.l [A4 + 0x8], [A0 + 0xC]
label000032DC:
000032DC 4A2E 04A4 tst.b [A6 + 0x4A4]
000032E0 6750 beq +0x52 /* 00003332 */
000032E2 2008 move.l D0, A0
000032E4 6B00 0106 bmi +0x108 /* 000033EC */
000032E8 4A28 001E tst.b [A0 + 0x1E]
000032EC 6600 00FE bne +0x100 /* 000033EC */
000032F0 3968 001A 004C move.w [A4 + 0x4C], [A0 + 0x1A]
000032F6 3968 0012 004E move.w [A4 + 0x4E], [A0 + 0x12]
000032FC 0828 000F 0012 btst.b [A0 + 0x12], 0xF
00003302 6618 bne +0x1A /* 0000331C */
00003304 0828 0004 0010 btst.b [A0 + 0x10], 0x4
0000330A 6710 beq +0x12 /* 0000331C */
0000330C 7201 moveq.l D1, 0x01
0000330E B2A8 000C cmp.l D1, [A0 + 0xC]
00003312 56EC 0050 sne [A4 + 0x50]
00003316 57EC 0051 seq [A4 + 0x51]
0000331A 600A bra +0xC /* 00003326 */
label0000331C:
0000331C 2950 0002 move.l [A4 + 0x2], [A0]
00003320 2D68 0004 06C2 move.l [A6 + 0x6C2], [A0 + 0x4]
label00003326:
00003326 41E8 0022 lea.l A0, [A0 + 0x22]
0000332A 43EC 000C lea.l A1, [A4 + 0xC]
0000332E 6000 00AA bra +0xAC /* 000033DA */
label00003332:
00003332 4A2E 04A9 tst.b [A6 + 0x4A9]
00003336 6F10 ble +0x12 /* 00003348 */
00003338 302E 03BC move.w D0, [A6 + 0x3BC]
0000333C 3940 0006 move.w [A4 + 0x6], D0
00003340 6100 0504 bsr +0x506 /* 00003846 */
00003344 2950 0008 move.l [A4 + 0x8], [A0]
label00003348:
00003348 6100 E124 bsr -0x1EDA /* 0000146E */
0000334C 3940 004C move.w [A4 + 0x4C], D0
00003350 700A moveq.l D0, 0x0A
00003352 6100 D4A6 bsr -0x2B58 /* 000007FA */
00003356 6100 EE62 bsr -0x119C /* 000021BA */
0000335A 2F2E 0208 move.l -[A7], [A6 + 0x208]
0000335E 486E 0216 pea.l [A6 + 0x216]
00003362 A990 syscall GetDialogItemText/GetIText
00003364 41EE 0216 lea.l A0, [A6 + 0x216]
00003368 43EC 000C lea.l A1, [A4 + 0xC]
0000336C 606C bra +0x6E /* 000033DA */
label0000336E:
0000336E 4254 clr.w [A4]
00003370 422C 000A clr.b [A4 + 0xA]
00003374 42AC 0002 clr.l [A4 + 0x2]
00003378 4A2E 04A4 tst.b [A6 + 0x4A4]
0000337C 6740 beq +0x42 /* 000033BE */
0000337E 6100 017A bsr +0x17C /* 000034FA */
00003382 6B68 bmi +0x6A /* 000033EC */
00003384 3968 000A 0006 move.w [A4 + 0x6], [A0 + 0xA]
0000338A 2950 0002 move.l [A4 + 0x2], [A0]
0000338E 2D68 0004 06C2 move.l [A6 + 0x6C2], [A0 + 0x4]
00003394 0828 000F 0012 btst.b [A0 + 0x12], 0xF
0000339A 6618 bne +0x1A /* 000033B4 */
0000339C 0828 0004 0010 btst.b [A0 + 0x10], 0x4
000033A2 6710 beq +0x12 /* 000033B4 */
000033A4 7001 moveq.l D0, 0x01
000033A6 B0A8 000C cmp.l D0, [A0 + 0xC]
000033AA 6640 bne +0x42 /* 000033EC */
000033AC 7002 moveq.l D0, 0x02
000033AE 2940 0002 move.l [A4 + 0x2], D0
000033B2 6038 bra +0x3A /* 000033EC */
label000033B4:
000033B4 41E8 0022 lea.l A0, [A0 + 0x22]
000033B8 43EC 000A lea.l A1, [A4 + 0xA]
000033BC 601C bra +0x1E /* 000033DA */
label000033BE:
000033BE 700A moveq.l D0, 0x0A
000033C0 6100 D438 bsr -0x2BC6 /* 000007FA */
000033C4 6100 EDF4 bsr -0x120A /* 000021BA */
000033C8 2F2E 0208 move.l -[A7], [A6 + 0x208]
000033CC 486E 0216 pea.l [A6 + 0x216]
000033D0 A990 syscall GetDialogItemText/GetIText
000033D2 41EE 0216 lea.l A0, [A6 + 0x216]
000033D6 43EC 000A lea.l A1, [A4 + 0xA]
label000033DA:
000033DA 721F moveq.l D1, 0x1F
000033DC 7000 moveq.l D0, 0x00
000033DE 1010 move.b D0, [A0]
000033E0 B081 cmp.l D0, D1
000033E2 6F04 ble +0x6 /* 000033E8 */
000033E4 1001 move.b D0, D1
000033E6 1080 move.b [A0], D0
label000033E8:
000033E8 5200 addq.b D0, 1
000033EA A22E syscall BlockMove/BlockMoveData, flags=2
label000033EC:
000033EC 4E75 rts
fn000033EE:
000033EE 9EFC 0010 sub.w A7, 0x10
000033F2 41EE 03DE lea.l A0, [A6 + 0x3DE]
000033F6 2E90 move.l [A7], [A0]
000033F8 2F68 0004 0004 move.l [A7 + 0x4], [A0 + 0x4]
000033FE 046F 000F 0006 subi.w [A7 + 0x6], 0xF
00003404 2F0F move.l -[A7], A7
00003406 2F38 0A02 move.l -[A7], [0x00000A02 /* OneOne */]
0000340A A8A9 syscall InsetRect
0000340C 41EF 0008 lea.l A0, [A7 + 0x8]
00003410 4298 clr.l [A0]+
00003412 4298 clr.l [A0]+
00003414 204F movea.l A0, A7
00003416 598F subq.l A7, 4
00003418 2F08 move.l -[A7], A0
0000341A 5048 addq.w A0, 8
0000341C 2F08 move.l -[A7], A0
0000341E 4267 clr.w -[A7]
00003420 3F3C 0012 move.w -[A7], 0x12
00003424 3F3C BF5B move.w -[A7], 0xBF5B
00003428 2F0B move.l -[A7], A3
0000342A 50E7 st -[A7]
0000342C 51E7 sf -[A7]
0000342E 51E7 sf -[A7]
00003430 50E7 st -[A7]
00003432 3F3C 0044 move.w -[A7], 0x44 /* 'D' */
00003436 A9E7 syscall Pack0/ListManager
00003438 225F movea.l A1, [A7]+
0000343A 2D49 04AC move.l [A6 + 0x4AC], A1
0000343E 2251 movea.l A1, [A1]
00003440 41FA 0026 lea.l A0, [PC + 0x26 /* 00003468, value 0x48E70012 */]
00003444 2348 0034 move.l [A1 + 0x34], A0
00003448 137C 00FC 0024 move.b [A1 + 0x24], 0xFC
0000344E DEFC 0010 add.w A7, 0x10
00003452 336E 0400 000C move.w [A1 + 0xC], [A6 + 0x400]
00003458 337C 0002 000E move.w [A1 + 0xE], 0x2
0000345E 5269 000C addq.w [A1 + 0xC], 1
00003462 6100 064E bsr +0x650 /* 00003AB2 */
00003466 4E75 rts
00003468 48E7 0012 movem.l -[A7], A3,A6
0000346C 2055 movea.l A0, [A5]
0000346E 2050 movea.l A0, [A0]
00003470 4DD0 lea.l A6, [A0]
00003472 6100 0086 bsr +0x88 /* 000034FA */
00003476 2D40 0458 move.l [A6 + 0x458], D0
0000347A 6B46 bmi +0x48 /* 000034C2 */
0000347C 266E 04AC movea.l A3, [A6 + 0x4AC]
00003480 2653 movea.l A3, [A3]
00003482 2D6B 0030 0316 move.l [A6 + 0x316], [A3 + 0x30]
00003488 554F subq.w A7, 2
0000348A 2F2E 0316 move.l -[A7], [A6 + 0x316]
0000348E 486E 03DE pea.l [A6 + 0x3DE]
00003492 A8AD syscall PtInRect
00003494 4A1F tst.b [A7]+
00003496 662A bne +0x2C /* 000034C2 */
00003498 302B 0014 move.w D0, [A3 + 0x14]
0000349C B06B 0048 cmp.w D0, [A3 + 0x48]
000034A0 670A beq +0xC /* 000034AC */
000034A2 302B 0018 move.w D0, [A3 + 0x18]
000034A6 B06B 004C cmp.w D0, [A3 + 0x4C]
000034AA 6616 bne +0x18 /* 000034C2 */
label000034AC:
000034AC 4267 clr.w -[A7]
000034AE 2F2E 0458 move.l -[A7], [A6 + 0x458]
000034B2 2F2E 04AC move.l -[A7], [A6 + 0x4AC]
000034B6 3F3C 005C move.w -[A7], 0x5C /* '\\' */
000034BA A9E7 syscall Pack0/ListManager
000034BC 70FF moveq.l D0, 0xFFFFFFFF
000034BE 2D40 0458 move.l [A6 + 0x458], D0
label000034C2:
000034C2 4CDF 4800 movem.l A3,A6, [A7]+
000034C6 7001 moveq.l D0, 0x01
000034C8 4E75 rts
fn000034CA:
000034CA 48E7 1000 movem.l -[A7], D3
000034CE 76FF moveq.l D3, 0xFFFFFFFF
label000034D0:
000034D0 5283 addq.l D3, 1
000034D2 2003 move.l D0, D3
000034D4 4840 swap.w D0
000034D6 6100 0014 bsr +0x16 /* 000034EC */
000034DA 6B0A bmi +0xC /* 000034E6 */
000034DC 302E 03BC move.w D0, [A6 + 0x3BC]
000034E0 B068 000A cmp.w D0, [A0 + 0xA]
000034E4 66EA bne -0x14 /* 000034D0 */
label000034E6:
000034E6 4CDF 0008 movem.l D3, [A7]+
000034EA 4E75 rts
fn000034EC:
000034EC 48E7 0018 movem.l -[A7], A3,A4
000034F0 2F00 move.l -[A7], D0
000034F2 286E 04AC movea.l A4, [A6 + 0x4AC]
000034F6 264F movea.l A3, A7
000034F8 601E bra +0x20 /* 00003518 */
fn000034FA:
000034FA 48E7 0018 movem.l -[A7], A3,A4
000034FE 286E 04AC movea.l A4, [A6 + 0x4AC]
00003502 42A7 clr.l -[A7]
00003504 264F movea.l A3, A7
00003506 554F subq.w A7, 2
00003508 50E7 st -[A7]
0000350A 2F0B move.l -[A7], A3
0000350C 2F0C move.l -[A7], A4
0000350E 3F3C 003C move.w -[A7], 0x3C /* '<' */
00003512 A9E7 syscall Pack0/ListManager
00003514 4A1F tst.b [A7]+
00003516 6736 beq +0x38 /* 0000354E */
label00003518:
00003518 598F subq.l A7, 4
0000351A 2F0F move.l -[A7], A7
0000351C 2F17 move.l -[A7], [A7]
0000351E 5497 addq.l [A7], 2
00003520 2F13 move.l -[A7], [A3]
00003522 2F0C move.l -[A7], A4
00003524 3F3C 0034 move.w -[A7], 0x34 /* '4' */
00003528 A9E7 syscall Pack0/ListManager
0000352A 201F move.l D0, [A7]+
0000352C 6B20 bmi +0x22 /* 0000354E */
0000352E 4840 swap.w D0
00003530 2054 movea.l A0, [A4]
00003532 2068 0050 movea.l A0, [A0 + 0x50]
00003536 2050 movea.l A0, [A0]
00003538 D0C0 add.w A0, D0
0000353A 2013 move.l D0, [A3]
0000353C 4A28 001E tst.b [A0 + 0x1E]
00003540 6710 beq +0x12 /* 00003552 */
00003542 4267 clr.w -[A7]
00003544 2F13 move.l -[A7], [A3]
00003546 2F0C move.l -[A7], A4
00003548 3F3C 005C move.w -[A7], 0x5C /* '\\' */
0000354C A9E7 syscall Pack0/ListManager
label0000354E:
0000354E 70FF moveq.l D0, 0xFFFFFFFF
00003550 2040 movea.l A0, D0
label00003552:
00003552 588F addq.l A7, 4
00003554 4CDF 1800 movem.l A3,A4, [A7]+
00003558 4E75 rts
fn0000355A:
0000355A 7000 moveq.l D0, 0x00
0000355C 3F00 move.w -[A7], D0
0000355E 7004 moveq.l D0, 0x04
00003560 6100 D298 bsr -0x2D66 /* 000007FA */
00003564 6100 EC54 bsr -0x13AA /* 000021BA */
00003568 301F move.w D0, [A7]+
0000356A 2D6E 020C 03E6 move.l [A6 + 0x3E6], [A6 + 0x20C]
00003570 2D6E 0210 03EA move.l [A6 + 0x3EA], [A6 + 0x210]
00003576 4E75 rts
fn00003578:
00003578 486E 03E6 pea.l [A6 + 0x3E6]
0000357C A928 syscall InvalRect
0000357E 4E75 rts
fn00003580:
00003580 486E 03F2 pea.l [A6 + 0x3F2]
00003584 A928 syscall InvalRect
00003586 4E75 rts
fn00003588:
00003588 422E 054F clr.b [A6 + 0x54F]
0000358C 4A2E 04A4 tst.b [A6 + 0x4A4]
00003590 672E beq +0x30 /* 000035C0 */
00003592 7609 moveq.l D3, 0x09
00003594 6100 EDD2 bsr -0x122C /* 00002368 */
00003598 700A moveq.l D0, 0x0A
0000359A 246E 015E movea.l A2, [A6 + 0x15E]
0000359E 6100 EDE2 bsr -0x121C /* 00002382 */
000035A2 7607 moveq.l D3, 0x07
000035A4 6100 0224 bsr +0x226 /* 000037CA */
000035A8 554F subq.w A7, 2
000035AA 2F28 0004 move.l -[A7], [A0 + 0x4]
000035AE 486B 0010 pea.l [A3 + 0x10]
000035B2 A8AD syscall PtInRect
000035B4 4A1F tst.b [A7]+
000035B6 6608 bne +0xA /* 000035C0 */
000035B8 50EE 054F st [A6 + 0x54F]
000035BC 6000 0082 bra +0x84 /* 00003640 */
label000035C0:
000035C0 7006 moveq.l D0, 0x06
000035C2 6100 EBF6 bsr -0x1408 /* 000021BA */
000035C6 43EE 0216 lea.l A1, [A6 + 0x216]
000035CA 7201 moveq.l D1, 0x01
000035CC 6100 F066 bsr -0xF98 /* 00002634 */
000035D0 2F2E 0208 move.l -[A7], [A6 + 0x208]
000035D4 486E 0216 pea.l [A6 + 0x216]
000035D8 A95F syscall SetControlTitle/SetCTitle
000035DA 7604 moveq.l D3, 0x04
000035DC 6100 01E0 bsr +0x1E2 /* 000037BE */
000035E0 5868 FFFA addq.w [A0 - 0x6], 4
000035E4 7007 moveq.l D0, 0x07
000035E6 6100 D212 bsr -0x2DEC /* 000007FA */
000035EA 3600 move.w D3, D0
000035EC 6100 01D0 bsr +0x1D2 /* 000037BE */
000035F0 206E 017E movea.l A0, [A6 + 0x17E]
000035F4 43EE 0574 lea.l A1, [A6 + 0x574]
000035F8 2298 move.l [A1], [A0]+
000035FA 3358 0004 move.w [A1 + 0x4], [A0]+
000035FE 2D49 017E move.l [A6 + 0x17E], A1
00003602 162E 054C move.b D3, [A6 + 0x54C]
00003606 206B 009C movea.l A0, [A3 + 0x9C]
0000360A 2050 movea.l A0, [A0]
0000360C 3410 move.w D2, [A0]
0000360E 5242 addq.w D2, 1
label00003610:
00003610 5243 addq.w D3, 1
00003612 B443 cmp.w D2, D3
00003614 6D18 blt +0x1A /* 0000362E */
00003616 6100 01B2 bsr +0x1B4 /* 000037CA */
0000361A 0828 0004 000C btst.b [A0 + 0xC], 0x4
00003620 67EE beq -0x10 /* 00003610 */
00003622 5251 addq.w [A1], 1
00003624 3011 move.w D0, [A1]
00003626 D040 add.w D0, D0
00003628 3383 0000 move.w [A1 + D0.w], D3
0000362C 60E2 bra -0x1C /* 00003610 */
label0000362E:
0000362E 554F subq.w A7, 2
00003630 2F0B move.l -[A7], A3
00003632 303C 02F8 move.w D0, 0x2F8
00003636 A830 syscall Pack14
00003638 4A5F tst.w [A7]+
0000363A 6F04 ble +0x6 /* 00003640 */
0000363C 426E 0572 clr.w [A6 + 0x572]
label00003640:
00003640 4E75 rts
fn00003642:
00003642 6100 0126 bsr +0x128 /* 0000376A */
00003646 7800 moveq.l D4, 0x00
00003648 42B8 09FA clr.l [0x000009FA /* TempRect/Scratch8 */]
0000364C 21FC 0088 015C 09FE move.l [0x000009FE], 0x88015C
00003654 382E 0408 move.w D4, [A6 + 0x408]
00003658 5C44 addq.w D4, 6
0000365A 4A2E 04A4 tst.b [A6 + 0x4A4]
0000365E 660C bne +0xE /* 0000366C */
00003660 0644 0058 addi.w D4, 0x58 /* 'X' */
00003664 21FC 0068 0130 09FE move.l [0x000009FE], 0x680130
label0000366C:
0000366C 7A01 moveq.l D5, 0x01
0000366E 4A2E 04A4 tst.b [A6 + 0x4A4]
00003672 6702 beq +0x4 /* 00003676 */
00003674 7A10 moveq.l D5, 0x10
label00003676:
00003676 7608 moveq.l D3, 0x08
00003678 6100 0150 bsr +0x152 /* 000037CA */
0000367C 3028 000A move.w D0, [A0 + 0xA]
00003680 9068 0006 sub.w D0, [A0 + 0x6]
00003684 7600 moveq.l D3, 0x00
00003686 B045 cmp.w D0, D5
00003688 57EE 0450 seq [A6 + 0x450]
0000368C 670C beq +0xE /* 0000369A */
0000368E 382E 0408 move.w D4, [A6 + 0x408]
00003692 0444 0010 subi.w D4, 0x10
00003696 6700 00D0 beq +0xD2 /* 00003768 */
label0000369A:
0000369A 3C2E 03DE move.w D6, [A6 + 0x3DE]
0000369E 206B 009C movea.l A0, [A3 + 0x9C]
000036A2 2050 movea.l A0, [A0]
000036A4 3A10 move.w D5, [A0]
000036A6 7601 moveq.l D3, 0x01
label000036A8:
000036A8 6100 0120 bsr +0x122 /* 000037CA */
000036AC 4A2E 04A4 tst.b [A6 + 0x4A4]
000036B0 6706 beq +0x8 /* 000036B8 */
000036B2 BC68 0008 cmp.w D6, [A0 + 0x8]
000036B6 6C18 bge +0x1A /* 000036D0 */
label000036B8:
000036B8 D968 0004 add.w [A0 + 0x4], D4
000036BC D968 0008 add.w [A0 + 0x8], D4
000036C0 0828 0002 000C btst.b [A0 + 0xC], 0x2
000036C6 6708 beq +0xA /* 000036D0 */
000036C8 2F10 move.l -[A7], [A0]
000036CA 2F28 0004 move.l -[A7], [A0 + 0x4]
000036CE A959 syscall MoveControl
label000036D0:
000036D0 5243 addq.w D3, 1
000036D2 51CD FFD4 dbf D5, -0x2E /* 000036A8 */
000036D6 7007 moveq.l D0, 0x07
000036D8 6100 D120 bsr -0x2EDE /* 000007FA */
000036DC 3600 move.w D3, D0
000036DE 6100 00EA bsr +0xEC /* 000037CA */
000036E2 5848 addq.w A0, 4
000036E4 322E 0408 move.w D1, [A6 + 0x408]
000036E8 4A2E 0450 tst.b [A6 + 0x450]
000036EC 6722 beq +0x24 /* 00003710 */
000036EE 4A2E 04A4 tst.b [A6 + 0x4A4]
000036F2 6708 beq +0xA /* 000036FC */
000036F4 0668 0010 0006 addi.w [A0 + 0x6], 0x10
000036FA 6014 bra +0x16 /* 00003710 */
label000036FC:
000036FC 20BC 0008 000F move.l [A0], 0x8000F
00003702 D350 add.w [A0], D1
00003704 217C 005A 00E7 0004 move.l [A0 + 0x4], 0x5A00E7
0000370C D368 0004 add.w [A0 + 0x4], D1
label00003710:
00003710 3028 0004 move.w D0, [A0 + 0x4]
00003714 9050 sub.w D0, [A0]
00003716 5540 subq.w D0, 2
00003718 80C1 divu.w D0, D1
0000371A 4840 swap.w D0
0000371C 9168 0004 sub.w [A0 + 0x4], D0
00003720 4A2E 0450 tst.b [A6 + 0x450]
00003724 6722 beq +0x24 /* 00003748 */
00003726 5D8F subq.l A7, 6
00003728 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
0000372E 362E 0178 move.w D3, [A6 + 0x178]
00003732 3F03 move.w -[A7], D3
00003734 A9A0 syscall GetResource
00003736 A9A4 syscall HomeResFile
00003738 301F move.w D0, [A7]+
0000373A 660C bne +0xE /* 00003748 */
0000373C 0C43 F061 cmpi.w D3, 0xF061
00003740 670C beq +0xE /* 0000374E */
00003742 0C43 F060 cmpi.w D3, 0xF060
00003746 6706 beq +0x8 /* 0000374E */
label00003748:
00003748 21EB 0014 09FE move.l [0x000009FE], [A3 + 0x14]
label0000374E:
0000374E 2604 move.l D3, D4
00003750 2A03 move.l D5, D3
00003752 4845 swap.w D5
00003754 DAB8 09FE add.l D5, [0x000009FE]
00003758 2F0B move.l -[A7], A3
0000375A 2F05 move.l -[A7], D5
0000375C 50E7 st -[A7]
0000375E A91D syscall SizeWindow
00003760 377C FFFF 00A4 move.w [A3 + 0xA4], 0xFFFF
00003766 6102 bsr +0x4 /* 0000376A */
label00003768:
00003768 4E75 rts
fn0000376A:
0000376A 7007 moveq.l D0, 0x07
0000376C 6100 D08C bsr -0x2F72 /* 000007FA */
00003770 6100 EA48 bsr -0x15B6 /* 000021BA */
00003774 41EE 020C lea.l A0, [A6 + 0x20C]
00003778 2D58 03DE move.l [A6 + 0x3DE], [A0]+
0000377C 2D58 03E2 move.l [A6 + 0x3E2], [A0]+
00003780 7000 moveq.l D0, 0x00
00003782 302E 03E2 move.w D0, [A6 + 0x3E2]
00003786 906E 03DE sub.w D0, [A6 + 0x3DE]
0000378A 5540 subq.w D0, 2
0000378C 80FC 0012 divu.w D0, 0x12
00003790 4840 swap.w D0
00003792 916E 03E2 sub.w [A6 + 0x3E2], D0
00003796 4E75 rts
fn00003798:
00003798 554F subq.w A7, 2
0000379A 2F0B move.l -[A7], A3
0000379C 4227 clr.b -[A7]
0000379E 50E7 st -[A7]
000037A0 700C moveq.l D0, 0x0C
000037A2 A829 syscall LayerDispatch
000037A4 4A1F tst.b [A7]+
000037A6 4E75 rts
fn000037A8:
000037A8 61EE bsr -0x10 /* 00003798 */
000037AA 6610 bne +0x12 /* 000037BC */
000037AC 2F0B move.l -[A7], A3
000037AE 4227 clr.b -[A7]
000037B0 1F3C 0001 move.b -[A7], 0x1
000037B4 1F3C 0002 move.b -[A7], 0x2
000037B8 7009 moveq.l D0, 0x09
000037BA A829 syscall LayerDispatch
label000037BC:
000037BC 4E75 rts
fn000037BE:
000037BE 610A bsr +0xC /* 000037CA */
000037C0 41E8 000C lea.l A0, [A0 + 0xC]
000037C4 0890 0007 bclr.b [A0], 0x7
000037C8 4E75 rts
fn000037CA:
000037CA 3203 move.w D1, D3
000037CC 5541 subq.w D1, 2
000037CE 206B 009C movea.l A0, [A3 + 0x9C]
fn000037D2:
000037D2 2050 movea.l A0, [A0]
000037D4 5488 addq.l A0, 2
000037D6 7000 moveq.l D0, 0x00
000037D8 4A41 tst.w D1
000037DA 6B12 bmi +0x14 /* 000037EE */
label000037DC:
000037DC 41E8 000D lea.l A0, [A0 + 0xD]
000037E0 1018 move.b D0, [A0]+
000037E2 5200 addq.b D0, 1
000037E4 0880 0000 bclr.b D0, 0x0
000037E8 D0C0 add.w A0, D0
000037EA 51C9 FFF0 dbf D1, -0x12 /* 000037DC */
label000037EE:
000037EE 4E75 rts
fn000037F0:
000037F0 41EE 018A lea.l A0, [A6 + 0x18A]
000037F4 4268 001C clr.w [A0 + 0x1C]
000037F8 3140 0016 move.w [A0 + 0x16], D0
000037FC 486E 037A pea.l [A6 + 0x37A]
00003800 215F 0012 move.l [A0 + 0x12], [A7]+
00003804 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00003806 663C bne +0x3E /* 00003844 */
00003808 3028 0016 move.w D0, [A0 + 0x16]
0000380C B06E 03BC cmp.w D0, [A6 + 0x3BC]
00003810 6732 beq +0x34 /* 00003844 */
00003812 3D40 03BC move.w [A6 + 0x3BC], D0
00003816 3D68 0040 03CA move.w [A6 + 0x3CA], [A0 + 0x40]
0000381C 6100 007C bsr +0x7E /* 0000389A */
00003820 3D40 03BA move.w [A6 + 0x3BA], D0
00003824 302E 03BC move.w D0, [A6 + 0x3BC]
00003828 31C0 0214 move.w [0x00000214 /* SFSaveDisk */], D0
0000382C 4478 0214 neg.w [0x00000214 /* SFSaveDisk */]
00003830 4A2E 04A9 tst.b [A6 + 0x4A9]
00003834 6F0A ble +0xC /* 00003840 */
00003836 610E bsr +0x10 /* 00003846 */
00003838 2010 move.l D0, [A0]
0000383A 6704 beq +0x6 /* 00003840 */
0000383C 21C0 0398 move.l [0x00000398 /* CurDirStore */], D0
label00003840:
00003840 6100 FD36 bsr -0x2C8 /* 00003578 */
label00003844:
00003844 4E75 rts
fn00003846:
00003846 48E7 6040 movem.l -[A7], D1,D2,A1
0000384A 4440 neg.w D0
0000384C 5340 subq.w D0, 1
0000384E 3200 move.w D1, D0
00003850 3400 move.w D2, D0
00003852 0241 000F andi.w D1, 0xF
00003856 E84A lsr D2.w, 4
00003858 43EE 0554 lea.l A1, [A6 + 0x554]
0000385C 2011 move.l D0, [A1]
label0000385E:
0000385E 4A80 tst.l D0
00003860 661A bne +0x1C /* 0000387C */
00003862 203C 0000 0084 move.l D0, 0x84
00003868 A31E syscall NewPtrClear, flags=3
0000386A 4A40 tst.w D0
0000386C 670C beq +0xE /* 0000387A */
0000386E 42AE 0558 clr.l [A6 + 0x558]
00003872 41EE 0558 lea.l A0, [A6 + 0x558]
00003876 4241 clr.w D1
00003878 6014 bra +0x16 /* 0000388E */
label0000387A:
0000387A 2008 move.l D0, A0
label0000387C:
0000387C 2040 movea.l A0, D0
0000387E 2288 move.l [A1], A0
00003880 43E8 0080 lea.l A1, [A0 + 0x80]
00003884 2011 move.l D0, [A1]
00003886 4A42 tst.w D2
00003888 6704 beq +0x6 /* 0000388E */
0000388A 5342 subq.w D2, 1
0000388C 60D0 bra -0x2E /* 0000385E */
label0000388E:
0000388E E741 asl D1.w, 3
00003890 41F0 1000 lea.l A0, [A0 + D1.w]
00003894 4CDF 0206 movem.l D1,D2,A1, [A7]+
00003898 4E75 rts
fn0000389A:
0000389A 2F08 move.l -[A7], A0
0000389C 2078 0358 movea.l A0, [0x00000358]
label000038A0:
000038A0 B068 004E cmp.w D0, [A0 + 0x4E]
000038A4 6708 beq +0xA /* 000038AE */
000038A6 2210 move.l D1, [A0]
000038A8 2041 movea.l A0, D1
000038AA 66F4 bne -0xA /* 000038A0 */
000038AC 6066 bra +0x68 /* 00003914 */
label000038AE:
000038AE 3028 004A move.w D0, [A0 + 0x4A]
000038B2 5240 addq.w D0, 1
000038B4 4440 neg.w D0
000038B6 E548 lsl D0.w, 2
000038B8 2078 011C movea.l A0, [0x0000011C /* UTableBase */]
000038BC 2070 0000 movea.l A0, [A0 + D0.w]
000038C0 2050 movea.l A0, [A0]
000038C2 0828 0006 0005 btst.b [A0 + 0x5], 0x6
000038C8 2050 movea.l A0, [A0]
000038CA 6702 beq +0x4 /* 000038CE */
000038CC 2050 movea.l A0, [A0]
label000038CE:
000038CE 41E8 0014 lea.l A0, [A0 + 0x14]
000038D2 303C F062 move.w D0, 0xF062
000038D6 0C90 536F 6E79 cmpi.l [A0], 0x536F6E79 /* 'Sony' */
000038DC 673A beq +0x3C /* 00003918 */
000038DE 303C F07C move.w D0, 0xF07C
000038E2 0C90 4146 5054 cmpi.l [A0], 0x41465054 /* 'AFPT' */
000038E8 672E beq +0x30 /* 00003918 */
000038EA 303C F06C move.w D0, 0xF06C
000038EE 0C90 4544 6973 cmpi.l [A0], 0x45446973 /* 'EDis' */
000038F4 6722 beq +0x24 /* 00003918 */
000038F6 303C F06D move.w D0, 0xF06D
000038FA 0C90 4170 706C cmpi.l [A0], 0x4170706C /* 'Appl' */
00003900 6612 bne +0x14 /* 00003914 */
00003902 2228 0004 move.l D1, [A0 + 0x4]
00003906 0281 FFFF FF00 andi.l D1, 0xFFFFFF00
0000390C 0C81 6543 4400 cmpi.l D1, 0x65434400 /* 'eCD\0' */
00003912 6704 beq +0x6 /* 00003918 */
label00003914:
00003914 303C F065 move.w D0, 0xF065
label00003918:
00003918 205F movea.l A0, [A7]+
0000391A 4E75 rts
fn0000391C:
0000391C 303C F068 move.w D0, 0xF068
00003920 B2AE 04E6 cmp.l D1, [A6 + 0x4E6]
00003924 671A beq +0x1C /* 00003940 */
00003926 303C F067 move.w D0, 0xF067
0000392A B2AE 04E2 cmp.l D1, [A6 + 0x4E2]
0000392E 6710 beq +0x12 /* 00003940 */
00003930 302E 03BA move.w D0, [A6 + 0x3BA]
00003934 0C81 0000 0002 cmpi.l D1, 0x2
0000393A 6704 beq +0x6 /* 00003940 */
0000393C 303C F063 move.w D0, 0xF063
label00003940:
00003940 4E75 rts
fn00003942:
00003942 48E7 0038 movem.l -[A7], A2,A3,A4
00003946 7C00 moveq.l D6, 0x00
00003948 594F subq.w A7, 4
0000394A 3F3C F060 move.w -[A7], 0xF060
0000394E 487A C6FD pea.l [PC - 0x3903 /* 0000004D, value 0x1012020 */]
00003952 A931 syscall NewMenu
00003954 201F move.l D0, [A7]+
00003956 6700 0106 beq +0x108 /* 00003A5E */
0000395A 2840 movea.l A4, D0
0000395C 7000 moveq.l D0, 0x00
0000395E A122 syscall NewHandle, flags=1
00003960 6B00 00FC bmi +0xFE /* 00003A5E */
00003964 7A01 moveq.l D5, 0x01
00003966 2C2E 03C2 move.l D6, [A6 + 0x3C2]
0000396A 2448 movea.l A2, A0
0000396C 47EE 018A lea.l A3, [A6 + 0x18A]
00003970 376E 03BE 0016 move.w [A3 + 0x16], [A6 + 0x3BE]
00003976 43EE 0216 lea.l A1, [A6 + 0x216]
0000397A 2749 0012 move.l [A3 + 0x12], A1
label0000397E:
0000397E 7001 moveq.l D0, 0x01
00003980 BC80 cmp.l D6, D0
00003982 6604 bne +0x6 /* 00003988 */
label00003984:
00003984 2C2E 04E6 move.l D6, [A6 + 0x4E6]
label00003988:
00003988 BCAE 04E6 cmp.l D6, [A6 + 0x4E6]
0000398C 6604 bne +0x6 /* 00003992 */
0000398E 7201 moveq.l D1, 0x01
00003990 6008 bra +0xA /* 0000399A */
label00003992:
00003992 BCAE 04E2 cmp.l D6, [A6 + 0x4E2]
00003996 660C bne +0xE /* 000039A4 */
00003998 7202 moveq.l D1, 0x02
label0000399A:
0000399A 43EE 0216 lea.l A1, [A6 + 0x216]
0000399E 6100 EC78 bsr -0x1386 /* 00002618 */
000039A2 6012 bra +0x14 /* 000039B6 */
label000039A4:
000039A4 2746 0030 move.l [A3 + 0x30], D6
000039A8 377C FFFF 001C move.w [A3 + 0x1C], 0xFFFF
000039AE 204B movea.l A0, A3
000039B0 7009 moveq.l D0, 0x09
000039B2 A260 syscall FSDispatch/HFSDispatch, flags=2
000039B4 665C bne +0x5E /* 00003A12 */
label000039B6:
000039B6 7000 moveq.l D0, 0x00
000039B8 3005 move.w D0, D5
000039BA E540 asl D0.w, 2
000039BC 204A movea.l A0, A2
000039BE A024 syscall SetHandleSize
000039C0 6B50 bmi +0x52 /* 00003A12 */
000039C2 2052 movea.l A0, [A2]
000039C4 3005 move.w D0, D5
000039C6 E540 asl D0.w, 2
000039C8 2186 00FC move.l [A0 + D0.w - 0x4], D6
000039CC 2F0C move.l -[A7], A4
000039CE 487A C67D pea.l [PC - 0x3983 /* 0000004D, value 0x1012020 */]
000039D2 A933 syscall AppendMenu
000039D4 2F0C move.l -[A7], A4
000039D6 3F05 move.w -[A7], D5
000039D8 486E 0216 pea.l [A6 + 0x216]
000039DC A947 syscall SetMenuItemText/SetItem
000039DE 2206 move.l D1, D6
000039E0 6100 FF3A bsr -0xC4 /* 0000391C */
000039E4 2F0C move.l -[A7], A4
000039E6 3F05 move.w -[A7], D5
000039E8 0440 F060 subi.w D0, 0xF060
000039EC 3F00 move.w -[A7], D0
000039EE A940 syscall SetItmIcon
000039F0 2F0C move.l -[A7], A4
000039F2 3F05 move.w -[A7], D5
000039F4 3F3C 001A move.w -[A7], 0x1A
000039F8 A84F syscall SetItemCmd
000039FA BCAE 04E6 cmp.l D6, [A6 + 0x4E6]
000039FE 6718 beq +0x1A /* 00003A18 */
00003A00 5245 addq.w D5, 1
00003A02 BCAE 04E2 cmp.l D6, [A6 + 0x4E2]
00003A06 6700 FF7C beq -0x82 /* 00003984 */
00003A0A 2C2B 0064 move.l D6, [A3 + 0x64]
00003A0E 6000 FF6E bra -0x90 /* 0000397E */
label00003A12:
00003A12 6100 FB6C bsr -0x492 /* 00003580 */
00003A16 7C00 moveq.l D6, 0x00
label00003A18:
00003A18 202E 03FA move.l D0, [A6 + 0x3FA]
00003A1C 6704 beq +0x6 /* 00003A22 */
00003A1E 2040 movea.l A0, D0
00003A20 A023 syscall DisposHandle/DisposeHandle
label00003A22:
00003A22 2D4A 03FA move.l [A6 + 0x3FA], A2
00003A26 3D45 03FE move.w [A6 + 0x3FE], D5
00003A2A 206E 03EE movea.l A0, [A6 + 0x3EE]
00003A2E 2050 movea.l A0, [A0]
00003A30 317C 0001 0012 move.w [A0 + 0x12], 0x1
00003A36 50E8 0010 st [A0 + 0x10]
00003A3A 2068 001C movea.l A0, [A0 + 0x1C]
00003A3E 2A08 move.l D5, A0
00003A40 2050 movea.l A0, [A0]
00003A42 2010 move.l D0, [A0]
00003A44 670A beq +0xC /* 00003A50 */
00003A46 2F00 move.l -[A7], D0
00003A48 3F3C F060 move.w -[A7], 0xF060
00003A4C A936 syscall DeleteMenu
00003A4E A932 syscall DisposeMenu
label00003A50:
00003A50 2045 movea.l A0, D5
00003A52 2050 movea.l A0, [A0]
00003A54 208C move.l [A0], A4
00003A56 2F0C move.l -[A7], A4
00003A58 3F3C FFFF move.w -[A7], 0xFFFF
00003A5C A935 syscall InsertMenu
label00003A5E:
00003A5E 4A2E 04A8 tst.b [A6 + 0x4A8]
00003A62 670A beq +0xC /* 00003A6E */
00003A64 303C 0002 move.w D0, 0x2
00003A68 A830 syscall Pack14
00003A6A 422E 04A8 clr.b [A6 + 0x4A8]
label00003A6E:
00003A6E 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00003A72 4E75 rts
fn00003A74:
00003A74 206E 03EE movea.l A0, [A6 + 0x3EE]
00003A78 2050 movea.l A0, [A0]
00003A7A 3028 0012 move.w D0, [A0 + 0x12]
00003A7E B06E 03FE cmp.w D0, [A6 + 0x3FE]
00003A82 6710 beq +0x12 /* 00003A94 */
00003A84 5340 subq.w D0, 1
00003A86 206E 03FA movea.l A0, [A6 + 0x3FA]
00003A8A 2050 movea.l A0, [A0]
00003A8C E540 asl D0.w, 2
00003A8E 2030 0000 move.l D0, [A0 + D0.w]
00003A92 660A bne +0xC /* 00003A9E */
label00003A94:
00003A94 4A2E 04A9 tst.b [A6 + 0x4A9]
00003A98 6E16 bgt +0x18 /* 00003AB0 */
00003A9A 6000 D902 bra -0x26FC /* 0000139E */
label00003A9E:
00003A9E B0AE 03C2 cmp.l D0, [A6 + 0x3C2]
00003AA2 670C beq +0xE /* 00003AB0 */
00003AA4 2D40 03C2 move.l [A6 + 0x3C2], D0
00003AA8 50EE 056E st [A6 + 0x56E]
00003AAC 6100 DE5E bsr -0x21A0 /* 0000190C */
label00003AB0:
00003AB0 4E75 rts
fn00003AB2:
00003AB2 202E 04AC move.l D0, [A6 + 0x4AC]
00003AB6 6718 beq +0x1A /* 00003AD0 */
00003AB8 2040 movea.l A0, D0
00003ABA 2050 movea.l A0, [A0]
00003ABC 43E8 0048 lea.l A1, [A0 + 0x48]
00003AC0 4299 clr.l [A1]+
00003AC2 4259 clr.w [A1]+
00003AC4 32BC 0001 move.w [A1], 0x1
00003AC8 43E8 0014 lea.l A1, [A0 + 0x14]
00003ACC 4299 clr.l [A1]+
00003ACE 4299 clr.l [A1]+
label00003AD0:
00003AD0 4E75 rts
fn00003AD2:
00003AD2 43E8 0048 lea.l A1, [A0 + 0x48]
00003AD6 4299 clr.l [A1]+
00003AD8 32C0 move.w [A1]+, D0
00003ADA 32FC 0001 move.w [A1]+, 0x1
00003ADE 43E8 0014 lea.l A1, [A0 + 0x14]
00003AE2 4299 clr.l [A1]+
00003AE4 3228 0010 move.w D1, [A0 + 0x10]
00003AE8 7000 moveq.l D0, 0x00
00003AEA D068 0004 add.w D0, [A0 + 0x4]
00003AEE 9050 sub.w D0, [A0]
00003AF0 D041 add.w D0, D1
00003AF2 5340 subq.w D0, 1
00003AF4 80C1 divu.w D0, D1
00003AF6 32C0 move.w [A1]+, D0
00003AF8 32BC 0001 move.w [A1], 0x1
00003AFC 3028 004C move.w D0, [A0 + 0x4C]
00003B00 9068 0018 sub.w D0, [A0 + 0x18]
00003B04 2268 001C movea.l A1, [A0 + 0x1C]
00003B08 2251 movea.l A1, [A1]
00003B0A 3340 0016 move.w [A1 + 0x16], D0
00003B0E 4269 0012 clr.w [A1 + 0x12]
00003B12 4E75 rts
fn00003B14:
00003B14 48E7 1C08 movem.l -[A7], D3,D4,D5,A4
00003B18 286E 04AC movea.l A4, [A6 + 0x4AC]
00003B1C 78FF moveq.l D4, 0xFFFFFFFF
00003B1E 0C00 001E cmpi.b D0, 0x1E
00003B22 6750 beq +0x52 /* 00003B74 */
00003B24 7801 moveq.l D4, 0x01
00003B26 0C00 001F cmpi.b D0, 0x1F
00003B2A 6748 beq +0x4A /* 00003B74 */
00003B2C 0C00 001D cmpi.b D0, 0x1D
00003B30 677C beq +0x7E /* 00003BAE */
00003B32 0C00 001C cmpi.b D0, 0x1C
00003B36 6776 beq +0x78 /* 00003BAE */
00003B38 226E 04AC movea.l A1, [A6 + 0x4AC]
00003B3C 2051 movea.l A0, [A1]
00003B3E 3628 0014 move.w D3, [A0 + 0x14]
00003B42 9668 0018 sub.w D3, [A0 + 0x18]
00003B46 0C00 000B cmpi.b D0, 0xB
00003B4A 671A beq +0x1C /* 00003B66 */
00003B4C 4443 neg.w D3
00003B4E 0C00 000C cmpi.b D0, 0xC
00003B52 6712 beq +0x14 /* 00003B66 */
00003B54 363C F830 move.w D3, 0xF830
00003B58 0C00 0001 cmpi.b D0, 0x1
00003B5C 6708 beq +0xA /* 00003B66 */
00003B5E 4443 neg.w D3
00003B60 0C00 0004 cmpi.b D0, 0x4
00003B64 6656 bne +0x58 /* 00003BBC */
label00003B66:
00003B66 4267 clr.w -[A7]
00003B68 3F03 move.w -[A7], D3
00003B6A 2F09 move.l -[A7], A1
00003B6C 3F3C 0050 move.w -[A7], 0x50 /* 'P' */
00003B70 A9E7 syscall Pack0/ListManager
00003B72 603A bra +0x3C /* 00003BAE */
label00003B74:
00003B74 2054 movea.l A0, [A4]
00003B76 3A28 004C move.w D5, [A0 + 0x4C]
00003B7A 5345 subq.w D5, 1
00003B7C 6100 F97C bsr -0x682 /* 000034FA */
00003B80 6B06 bmi +0x8 /* 00003B88 */
00003B82 2600 move.l D3, D0
00003B84 4843 swap.w D3
00003B86 600A bra +0xC /* 00003B92 */
label00003B88:
00003B88 7600 moveq.l D3, 0x00
00003B8A 4A44 tst.w D4
00003B8C 6A0C bpl +0xE /* 00003B9A */
00003B8E 3605 move.w D3, D5
00003B90 6008 bra +0xA /* 00003B9A */
label00003B92:
00003B92 D644 add.w D3, D4
00003B94 6B18 bmi +0x1A /* 00003BAE */
00003B96 BA43 cmp.w D5, D3
00003B98 6D14 blt +0x16 /* 00003BAE */
label00003B9A:
00003B9A 2003 move.l D0, D3
00003B9C 4840 swap.w D0
00003B9E 6100 F94C bsr -0x6B2 /* 000034EC */
00003BA2 4A28 001E tst.b [A0 + 0x1E]
00003BA6 66EA bne -0x14 /* 00003B92 */
00003BA8 51C2 sf D2
00003BAA 6100 F454 bsr -0xBAA /* 00003000 */
label00003BAE:
00003BAE 486E 045C pea.l [A6 + 0x45C]
00003BB2 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00003BB6 A9ED syscall Pack6
00003BB8 7001 moveq.l D0, 0x01
00003BBA 6002 bra +0x4 /* 00003BBE */
label00003BBC:
00003BBC 7000 moveq.l D0, 0x00
label00003BBE:
00003BBE 4CDF 1038 movem.l D3,D4,D5,A4, [A7]+
00003BC2 4E75 rts
fn00003BC4:
00003BC4 4E54 FEEC link A4, -0x0114
00003BC8 48E7 E0F0 movem.l -[A7], D0,D1,D2,A0,A1,A2,A3
00003BCC 554F subq.w A7, 2
00003BCE 303C 0003 move.w D0, 0x3
00003BD2 A830 syscall Pack14
00003BD4 4A1F tst.b [A7]+
00003BD6 674E beq +0x50 /* 00003C26 */
00003BD8 486C FEEC pea.l [A4 - 0x114]
00003BDC A972 syscall GetMouse
00003BDE 206E 03EE movea.l A0, [A6 + 0x3EE]
00003BE2 2050 movea.l A0, [A0]
00003BE4 2068 001C movea.l A0, [A0 + 0x1C]
00003BE8 2050 movea.l A0, [A0]
00003BEA 45E8 000A lea.l A2, [A0 + 0xA]
00003BEE 558F subq.l A7, 2
00003BF0 2F2C FEEC move.l -[A7], [A4 - 0x114]
00003BF4 4852 pea.l [A2]
00003BF6 A8AD syscall PtInRect
00003BF8 4A1F tst.b [A7]+
00003BFA 670A beq +0xC /* 00003C06 */
00003BFC 303C 0001 move.w D0, 0x1
00003C00 204A movea.l A0, A2
00003C02 612A bsr +0x2C /* 00003C2E */
00003C04 6020 bra +0x22 /* 00003C26 */
label00003C06:
00003C06 302E 0572 move.w D0, [A6 + 0x572]
00003C0A 6716 beq +0x18 /* 00003C22 */
00003C0C 554F subq.w A7, 2
00003C0E 3F00 move.w -[A7], D0
00003C10 3F3C FFFF move.w -[A7], 0xFFFF
00003C14 2F3C 6864 6C67 move.l -[A7], 0x68646C67 /* 'hdlg' */
00003C1A 303C 0410 move.w D0, 0x410
00003C1E A830 syscall Pack14
00003C20 4A5F tst.w [A7]+
label00003C22:
00003C22 422E 04A8 clr.b [A6 + 0x4A8]
label00003C26:
00003C26 4CDF 0F07 movem.l D0,D1,D2,A0,A1,A2,A3, [A7]+
00003C2A 4E5C unlink A4
00003C2C 4E75 rts
fn00003C2E:
00003C2E B02E 04A8 cmp.b D0, [A6 + 0x4A8]
00003C32 6764 beq +0x66 /* 00003C98 */
00003C34 1D40 04A8 move.b [A6 + 0x4A8], D0
00003C38 2950 FEF4 move.l [A4 - 0x10C], [A0]
00003C3C 2968 0004 FEF8 move.l [A4 - 0x108], [A0 + 0x4]
00003C42 41EC FEFC lea.l A0, [A4 - 0x104]
00003C46 30BC 0003 move.w [A0], 0x3
00003C4A 317C E863 0002 move.w [A0 + 0x2], 0xE863
00003C50 3140 0004 move.w [A0 + 0x4], D0
00003C54 202C FEF8 move.l D0, [A4 - 0x108]
00003C58 2940 FEF0 move.l [A4 - 0x110], D0
00003C5C 5B6C FEF0 subq.w [A4 - 0x110], 5
00003C60 516C FEF2 subq.w [A4 - 0x10E], 8
00003C64 486C FEF0 pea.l [A4 - 0x110]
00003C68 A870 syscall LocalToGlobal
00003C6A 486C FEF4 pea.l [A4 - 0x10C]
00003C6E A870 syscall LocalToGlobal
00003C70 486C FEF8 pea.l [A4 - 0x108]
00003C74 A870 syscall LocalToGlobal
00003C76 554F subq.w A7, 2
00003C78 486C FEFC pea.l [A4 - 0x104]
00003C7C 2F2C FEF0 move.l -[A7], [A4 - 0x110]
00003C80 486C FEF4 pea.l [A4 - 0x10C]
00003C84 42A7 clr.l -[A7]
00003C86 42A7 clr.l -[A7]
00003C88 4267 clr.w -[A7]
00003C8A 303C 0B01 move.w D0, 0xB01
00003C8E A830 syscall Pack14
00003C90 301F move.w D0, [A7]+
00003C92 6704 beq +0x6 /* 00003C98 */
00003C94 422E 04A8 clr.b [A6 + 0x4A8]
label00003C98:
00003C98 4E75 rts